Skip to content

Commit

Permalink
fix: drag-and-drop folder upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiresviana committed May 2, 2022
1 parent 9734f70 commit e677c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/utils/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e677c78

Please sign in to comment.