DEV: Minor in-progress-uploads refactor (#16430)
These calls were missed in ac672cfcc6
This commit is contained in:
parent
cd02ea07fc
commit
6d2441041b
|
@ -72,10 +72,7 @@ export default Mixin.create(UppyS3Multipart, ExtendableUploader, {
|
||||||
});
|
});
|
||||||
this.set("allowMultipleFiles", this.fileInputEl.multiple);
|
this.set("allowMultipleFiles", this.fileInputEl.multiple);
|
||||||
this.set("inProgressUploads", []);
|
this.set("inProgressUploads", []);
|
||||||
this.appEvents.trigger(
|
this._triggerInProgressUploadsEvent();
|
||||||
`upload-mixin:${this.id}:in-progress-uploads`,
|
|
||||||
this.inProgressUploads
|
|
||||||
);
|
|
||||||
|
|
||||||
this._bindFileInputChange();
|
this._bindFileInputChange();
|
||||||
|
|
||||||
|
@ -185,10 +182,7 @@ export default Mixin.create(UppyS3Multipart, ExtendableUploader, {
|
||||||
processing: false,
|
processing: false,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
this.appEvents.trigger(
|
this._triggerInProgressUploadsEvent();
|
||||||
`upload-mixin:${this.id}:in-progress-uploads`,
|
|
||||||
this.inProgressUploads
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -475,10 +469,7 @@ export default Mixin.create(UppyS3Multipart, ExtendableUploader, {
|
||||||
"inProgressUploads",
|
"inProgressUploads",
|
||||||
this.inProgressUploads.filter((upl) => upl.id !== fileId)
|
this.inProgressUploads.filter((upl) => upl.id !== fileId)
|
||||||
);
|
);
|
||||||
this.appEvents.trigger(
|
this._triggerInProgressUploadsEvent();
|
||||||
`upload-mixin:${this.id}:in-progress-uploads`,
|
|
||||||
this.inProgressUploads
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// target must be provided as a DOM element, however the
|
// target must be provided as a DOM element, however the
|
||||||
|
|
Loading…
Reference in New Issue