mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-28 20:40:06 +00:00
dirch _removeUpload calls
This commit is contained in:
parent
6463f9e1a4
commit
bfd4166b93
1 changed files with 0 additions and 6 deletions
|
|
@ -586,12 +586,6 @@ class Uppy {
|
|||
cancelAll () {
|
||||
this.emit('cancel-all')
|
||||
|
||||
const { currentUploads } = this.getState()
|
||||
const uploadIDs = Object.keys(currentUploads)
|
||||
uploadIDs.forEach((id) => {
|
||||
this._removeUpload(id)
|
||||
})
|
||||
|
||||
const files = Object.keys(this.getState().files)
|
||||
files.forEach((fileID) => {
|
||||
this.removeFile(fileID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue