diff --git a/projects/common/src/fm/components/resumable-file-upload/resumable-file-upload.service.ts b/projects/common/src/fm/components/resumable-file-upload/resumable-file-upload.service.ts index 6c3ca1c..d3f1dcb 100644 --- a/projects/common/src/fm/components/resumable-file-upload/resumable-file-upload.service.ts +++ b/projects/common/src/fm/components/resumable-file-upload/resumable-file-upload.service.ts @@ -58,9 +58,9 @@ export class ResumableFileUploadService implements OnDestroy{ this.isClosed=false; } switch(state.status) { - case "uploading": { - this.isUploading = true; + case "uploading": { if(file) { + this.isUploading = true; file.progress = (state.progress?state.progress:0); } };break;