2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 12:06:44 +00:00

js linting fix

This commit is contained in:
Oliver 2021-10-26 08:00:28 +11:00
parent cbbad98fea
commit b35ce79d6a

View File

@ -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) {