show progress bar before closing the collectionSelector modal
This commit is contained in:
parent
11ace7d793
commit
b79835f229
1 changed files with 1 additions and 2 deletions
|
@ -16,10 +16,9 @@ function CollectionDropZone({
|
|||
const upload = async (acceptedFiles) => {
|
||||
try {
|
||||
const token = getToken();
|
||||
closeModal();
|
||||
progressBarProps.setPercentComplete(0);
|
||||
setProgressView(true);
|
||||
|
||||
closeModal();
|
||||
await UploadService.uploadFiles(
|
||||
acceptedFiles,
|
||||
collectionAndItsLatestFile,
|
||||
|
|
Loading…
Add table
Reference in a new issue