Skip to content

Commit

Permalink
core: add postprocess progress when upload success
Browse files Browse the repository at this point in the history
  • Loading branch information
mejiaej committed Oct 12, 2020
1 parent 644031a commit 0b2eb4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@uppy/core/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1076,6 +1076,7 @@ class Uppy {
const currentProgress = this.getFile(file.id).progress
this.setFileState(file.id, {
progress: Object.assign({}, currentProgress, {
postprocess: this.postProcessors.length > 0,
uploadComplete: true,
percentage: 100,
bytesUploaded: currentProgress.bytesTotal
Expand Down

0 comments on commit 0b2eb4e

Please sign in to comment.