Browse Source

chore(gui-v2): prevent file being re-uploaded on delete

pull/3211/head
braks 2 years ago
parent
commit
a657693ef9
  1. 2
      packages/nc-gui-v2/components/dlg/QuickImport.vue

2
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<FileReader>) => {

Loading…
Cancel
Save