Add more details

This commit is contained in:
Marcus Moore 2024-07-17 13:40:41 -07:00
parent 3772a21a51
commit b4ed01243b
No known key found for this signature in database

View file

@ -528,7 +528,9 @@ class Importer extends Component
$import = Import::find($id);
// Check that the import wasn't deleted after while page was already loaded...
// @todo: next up...handle the file being missing for other interactions...for example switching the import type
// @todo: next up...handle the file being missing for other interactions...
// for example having an import open in two tabs, deleting it, and then changing
// the import type in the other tab. The error message below wouldn't display in that case.
if (!$import) {
// @todo: improve error message
$this->message = trans('admin/hardware/message.import.file_delete_error');