From a657693ef9cb4e71f760292784e888627568167b Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Thu, 18 Aug 2022 10:42:50 +0200 Subject: [PATCH] chore(gui-v2): prevent file being re-uploaded on delete --- packages/nc-gui-v2/components/dlg/QuickImport.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui-v2/components/dlg/QuickImport.vue b/packages/nc-gui-v2/components/dlg/QuickImport.vue index 91c74bb4cc..719e8f8070 100644 --- a/packages/nc-gui-v2/components/dlg/QuickImport.vue +++ b/packages/nc-gui-v2/components/dlg/QuickImport.vue @@ -200,7 +200,7 @@ function rejectDrop(fileList: UploadFile[]) { function handleChange(info: UploadChangeParam) { const status = info.file.status - if (status !== 'uploading') { + if (status !== 'uploading' && status !== 'removed') { const reader = new FileReader() reader.onload = (e: ProgressEvent) => {