mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-11 07:24:15 +00:00
Brace style fixes
This commit is contained in:
@ -703,7 +703,9 @@ function updateFieldValues(fields, options) {
|
||||
|
||||
var field = fields[name] || null;
|
||||
|
||||
if (field == null) { continue; }
|
||||
if (field == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
var value = field.value;
|
||||
|
||||
@ -711,7 +713,9 @@ function updateFieldValues(fields, options) {
|
||||
value = field.default;
|
||||
}
|
||||
|
||||
if (value == null) { continue; }
|
||||
if (value == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
updateFieldValue(name, value, field, options);
|
||||
}
|
||||
@ -1086,6 +1090,8 @@ function initializeRelatedFields(fields, options) {
|
||||
case 'choice':
|
||||
initializeChoiceField(field, fields, options);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user