mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +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) {
|
switch (parameters.type) {
|
||||||
case 'boolean':
|
case 'boolean':
|
||||||
opts.push(`style='display: inline-block; width: 20px; margin-right: 20px;'`);
|
opts.push(`style='display: inline-block; width: 20px; margin-right: 20px;'`);
|
||||||
break;
|
break;
|
||||||
case 'integer':
|
case 'integer':
|
||||||
case 'float':
|
case 'float':
|
||||||
case 'decimal':
|
case 'decimal':
|
||||||
opts.push(`step='any'`);
|
opts.push(`step='any'`);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parameters.multiline) {
|
if (parameters.multiline) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user