Skip to content

Commit

Permalink
Only _startIfAutoProceed if some files were actually added (#2146)
Browse files Browse the repository at this point in the history
  • Loading branch information
arturi authored Mar 21, 2020
1 parent 5e25b2a commit f449783
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 @@ -677,7 +677,9 @@ class Uppy {
})
}

this._startIfAutoProceed()
if (newFiles.length > 0) {
this._startIfAutoProceed()
}

if (errors.length > 0) {
let message = 'Multiple errors occurred while adding files:\n'
Expand Down

0 comments on commit f449783

Please sign in to comment.