mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 07:57:33 +08:00
show error when no selected file to import
This commit is contained in:
@@ -1493,6 +1493,7 @@ function setImportFile(event: Event): void {
|
||||
|
||||
function parseData(): void {
|
||||
if (!importFile.value) {
|
||||
snackbar.value?.showError('Please select a file to import');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user