fix: drag-and-drop folder upload

This commit is contained in:
Ramires Viana 2022-05-02 15:01:39 +00:00
parent 9734f707f0
commit e677c78471

View File

@ -129,7 +129,7 @@ export function handleFiles(files, base, overwrite = false) {
path,
file,
overwrite,
type: detectType(file.type),
...(!file.isDir && { type: detectType(file.type) })
};
store.dispatch("upload/upload", item);