mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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={}) {
|
function selectImportFields(url, data={}, options={}) {
|
||||||
|
|
||||||
if (!data.model_fields) {
|
if (!data.model_fields) {
|
||||||
console.log("WARNING: selectImportFields is missing 'model_fields'");
|
console.log(`WARNING: selectImportFields is missing 'model_fields'`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!data.file_fields) {
|
if (!data.file_fields) {
|
||||||
console.log("WARNING: selectImportFields is missing 'file_fields'");
|
console.log(`WARNING: selectImportFields is missing 'file_fields'`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2533,7 +2533,7 @@ function selectImportFields(url, data={}, options={}) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user