After cancel a single file close the upload dialog
This commit is contained in:
parent
464b82bfb9
commit
81126974f5
@ -100,6 +100,9 @@ export class ResumableFileUploadService implements OnDestroy{
|
|||||||
if (index > -1) {
|
if (index > -1) {
|
||||||
this.files.splice(index, 1);
|
this.files.splice(index, 1);
|
||||||
}
|
}
|
||||||
|
if(this.files.length==0) {
|
||||||
|
this.uploading = false;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
doClose = function () {
|
doClose = function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user