mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
js linting fix
This commit is contained in:
parent
cbbad98fea
commit
b35ce79d6a
@ -1992,16 +1992,16 @@ function constructInputOptions(name, classes, type, parameters) {
|
||||
}
|
||||
|
||||
switch (parameters.type) {
|
||||
case 'boolean':
|
||||
opts.push(`style='display: inline-block; width: 20px; margin-right: 20px;'`);
|
||||
break;
|
||||
case 'integer':
|
||||
case 'float':
|
||||
case 'decimal':
|
||||
opts.push(`step='any'`);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
case 'boolean':
|
||||
opts.push(`style='display: inline-block; width: 20px; margin-right: 20px;'`);
|
||||
break;
|
||||
case 'integer':
|
||||
case 'float':
|
||||
case 'decimal':
|
||||
opts.push(`step='any'`);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (parameters.multiline) {
|
||||
|
Loading…
Reference in New Issue
Block a user