After cancel a single file close the upload dialog

This commit is contained in:
Willem Dantuma 2020-07-21 18:39:51 +02:00
parent 464b82bfb9
commit 81126974f5

View File

@ -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 () {