diff --git a/src/uploadx/src/uploadx.service.ts b/src/uploadx/src/uploadx.service.ts index f4b3b854..a40449f3 100644 --- a/src/uploadx/src/uploadx.service.ts +++ b/src/uploadx/src/uploadx.service.ts @@ -37,7 +37,9 @@ export class UploadxService { constructor() { this.subj.subscribe((uploadState: UploadState) => { - this.processQueue(); + if (uploadState.status !== 'uploading') { + this.processQueue(); + } }); } /**