add failed files to failed upload list

This commit is contained in:
Abhinav-grd 2021-08-11 11:25:18 +05:30
parent 01827e268e
commit 07ce0f4dcb

View file

@ -153,6 +153,12 @@ class UploadManager {
);
this.setFiles(this.existingFiles);
}
if (
fileUploadResult === FileUploadResults.BLOCKED ||
FileUploadResults.FAILED
) {
this.failedFiles.push(fileWithCollection);
}
UIService.moveFileToResultList(fileWithCollection.file.name);
}