web: disable import button when no files selected

This commit is contained in:
ammarahm-ed
2023-06-19 12:19:21 +05:00
parent c61082cdee
commit abd136c7c2

View File

@@ -155,6 +155,7 @@ export function Importer() {
setIsDone(true);
setIsImporting(false);
}}
disabled={!files.length}
>
Start import
</Button>