diff --git a/products/ASC.Files/Client/src/store/files/actions.js b/products/ASC.Files/Client/src/store/files/actions.js index fd75d61dc7..7de9e07c5a 100644 --- a/products/ASC.Files/Client/src/store/files/actions.js +++ b/products/ASC.Files/Client/src/store/files/actions.js @@ -1432,16 +1432,16 @@ export const loopFilesOperations = (id, destFolderId, isCopy) => { ); //toastr.error(err); setTimeout( - () => dispatch(clearPrimaryProgressData()), + () => dispatch(clearSecondaryProgressData()), TIMEOUT ); }) - .finally(() => + .finally(() => { setTimeout( - () => dispatch(clearPrimaryProgressData()), + () => dispatch(clearSecondaryProgressData()), TIMEOUT - ) - ); + ); + }); } else { dispatch( setSecondaryProgressBarData({