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