fix(front/file-uploader): prevent starting upload if another upload is running

This commit is contained in:
Alice Gaudon 2022-03-02 11:06:53 +01:00
parent 79fb4e28c8
commit 5477c858ef
1 changed files with 3 additions and 1 deletions

View File

@ -25,8 +25,10 @@
e.preventDefault();
uploadForm = this;
if (selectedFiles && !uploading) {
processNextUpload();
}
}
async function processNextUpload() {
if (nextFileIndex > selectedFiles.length - 1) {