fix(control): download button wasn't enabled

This commit is contained in:
E44
2026-01-19 23:14:30 +01:00
parent c865dbeeae
commit befa83131b
+1 -1
View File
@@ -62,7 +62,7 @@
one_file_selected = liveQuery(async () => {
const inode = await get_file_by_id(s[0]);
if (!inode) return false;
return s.length === 1 && is_folder(inode);
return s.length === 1 && !is_folder(inode);
});
});