fix: await copy move conflict detection (#5978)

This commit is contained in:
Puneet Dixit authored and GitHub committed 2026-06-04 17:16:30 +02:00
1 parent 0bb2768754
commit c1abe8f561
3 files changed
+129 -2

No files matched your search

+2 -1
View File
@@ -98,6 +98,7 @@ export default {
to: this.dest + encodeURIComponent(this.req.items[item].name),
name: this.req.items[item].name,
size: this.req.items[item].size,
isDir: this.req.items[item].isDir,
modified: this.req.items[item].modified,
overwrite: false,
rename: false,
@@ -122,7 +123,7 @@ export default {
});
};
const conflict = upload.checkConflict(items, this.dest);
const conflict = await upload.checkConflict(items, this.dest);
if (conflict.length > 0) {
this.showHover({