Skip to content

Commit

Permalink
fix: do not processQueue on progress events
Browse files Browse the repository at this point in the history
  • Loading branch information
kukhariev committed Mar 4, 2019
1 parent 3e3d947 commit 6f1693d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/uploadx/src/uploadx.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ export class UploadxService {

constructor() {
this.subj.subscribe((uploadState: UploadState) => {
this.processQueue();
if (uploadState.status !== 'uploading') {
this.processQueue();
}
});
}
/**
Expand Down

0 comments on commit 6f1693d

Please sign in to comment.