mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-22 09:48:06 +00:00
Move allowNewUpload reset to cancelAll()
This commit is contained in:
parent
363643f0dc
commit
72a02f55bc
1 changed files with 1 additions and 1 deletions
|
|
@ -598,6 +598,7 @@ class Uppy {
|
|||
})
|
||||
|
||||
this.setState({
|
||||
allowNewUpload: true,
|
||||
totalProgress: 0,
|
||||
error: null
|
||||
})
|
||||
|
|
@ -621,7 +622,6 @@ class Uppy {
|
|||
|
||||
reset () {
|
||||
this.cancelAll()
|
||||
this.setState({ allowNewUpload: true })
|
||||
}
|
||||
|
||||
_calculateProgress (file, data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue