fix(front/file-uploader): prevent starting upload if another upload is running
This commit is contained in:
parent
79fb4e28c8
commit
5477c858ef
@ -25,8 +25,10 @@
|
||||
e.preventDefault();
|
||||
uploadForm = this;
|
||||
|
||||
if (selectedFiles && !uploading) {
|
||||
processNextUpload();
|
||||
}
|
||||
}
|
||||
|
||||
async function processNextUpload() {
|
||||
if (nextFileIndex > selectedFiles.length - 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user