Bug 52975 - Client.Files.Download. Added closing the download dialog

This commit is contained in:
Nikita Gopienko 2021-10-06 13:13:10 +03:00
parent 6902180804
commit e686c2814e

View File

@ -86,6 +86,7 @@ class DownloadDialogComponent extends React.Component {
window.open(viewUrl, "_self");
this.onClose();
} else if (fileConvertIds.length || folderIds.length) {
this.onClose();
downloadFiles(fileConvertIds, folderIds, t("Translations:ArchivingData"));
}
};