mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-4608] Fix for User can't upload a file whose upload was previously canceled (#7869)
This commit is contained in:
@@ -180,8 +180,9 @@ export class UploadService {
|
|||||||
if (promise) {
|
if (promise) {
|
||||||
if (this.isSaveToAbortFile(file)) {
|
if (this.isSaveToAbortFile(file)) {
|
||||||
promise.abort();
|
promise.abort();
|
||||||
|
} else {
|
||||||
|
this.abortedFile = file.name;
|
||||||
}
|
}
|
||||||
this.abortedFile = file.name;
|
|
||||||
delete this.cache[file.name];
|
delete this.cache[file.name];
|
||||||
promise.next();
|
promise.next();
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user