fix: drag-and-drop folder upload

pull/1942/head
Ramires Viana 2022-05-02 15:01:39 +00:00
parent 9734f707f0
commit e677c78471
1 changed files with 1 additions and 1 deletions

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);