mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
js linting
This commit is contained in:
parent
8f6312f7f4
commit
fbef0e1ede
@ -2431,12 +2431,12 @@ function constructHelpText(name, parameters) {
|
||||
function selectImportFields(url, data={}, options={}) {
|
||||
|
||||
if (!data.model_fields) {
|
||||
console.log("WARNING: selectImportFields is missing 'model_fields'");
|
||||
console.log(`WARNING: selectImportFields is missing 'model_fields'`);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!data.file_fields) {
|
||||
console.log("WARNING: selectImportFields is missing 'file_fields'");
|
||||
console.log(`WARNING: selectImportFields is missing 'file_fields'`);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -2533,7 +2533,7 @@ function selectImportFields(url, data={}, options={}) {
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
);
|
||||
},
|
||||
});
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user