[ACA-4608] Fix for User can't upload a file whose upload was previously canceled (#7869)

This commit is contained in:
arohilaGL
2022-10-14 20:40:03 +05:30
committed by GitHub
parent 405ad3d81d
commit 6fca55d43a

View File

@@ -180,8 +180,9 @@ export class UploadService {
if (promise) {
if (this.isSaveToAbortFile(file)) {
promise.abort();
} else {
this.abortedFile = file.name;
}
this.abortedFile = file.name;
delete this.cache[file.name];
promise.next();
} else {