From 62570f3d81e9715cd635f5110ebe9e4f0fb112f6 Mon Sep 17 00:00:00 2001 From: Willem Dantuma Date: Fri, 19 Jul 2019 10:23:30 +0200 Subject: [PATCH] Fix isuploading flag --- .../resumable-file-upload/resumable-file-upload.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/common/src/lib/components/resumable-file-upload/resumable-file-upload.service.ts b/projects/common/src/lib/components/resumable-file-upload/resumable-file-upload.service.ts index ce71f4d..cf13ee2 100644 --- a/projects/common/src/lib/components/resumable-file-upload/resumable-file-upload.service.ts +++ b/projects/common/src/lib/components/resumable-file-upload/resumable-file-upload.service.ts @@ -48,7 +48,7 @@ export class ResumableFileUploadService implements OnDestroy{ } } this.totalProgress=totalProgress/this.files.length; - if(totalProgress==100) this.isUploading=false; + if(this.totalProgress==100) this.isUploading=false; } handleState(state:UploadState) {