Skip to content

Commit

Permalink
Update packages/@uppy/core/src/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop authored and mejiaej committed Oct 12, 2020
1 parent 0b2eb4e commit 47f4807
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/@uppy/core/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,9 @@ class Uppy {
const currentProgress = this.getFile(file.id).progress
this.setFileState(file.id, {
progress: Object.assign({}, currentProgress, {
postprocess: this.postProcessors.length > 0,
postprocess: this.postProcessors.length > 0 ? {
mode: 'indeterminate'
} : null,
uploadComplete: true,
percentage: 100,
bytesUploaded: currentProgress.bytesTotal
Expand Down

0 comments on commit 47f4807

Please sign in to comment.