fix: Fix conflict modal and add a resume transfert option (#5884)

Co-authored-by: Henrique Dias <mail@hacdias.com>
This commit is contained in:
Anthony GeourjonandHenrique Dias authored and GitHub committed 2026-05-05 14:24:06 +02:00
1 parent 1f22fe65ec
commit f4e148523e
15 files changed
+311 -72

No files matched your search

@@ -191,7 +191,6 @@ const drop = async (event: Event) => {
return;
}
const path = el.__vue__.url;
const baseItems = (await api.fetch(path)).items;
const action = (overwrite?: boolean, rename?: boolean) => {
const action =
@@ -205,7 +204,7 @@ const drop = async (event: Event) => {
.catch($showError);
};
const conflict = upload.checkConflict(items, baseItems);
const conflict = await upload.checkConflict(items, path);
if (conflict.length > 0) {
layoutStore.showHover({