Web: Files: fixed download file

This commit is contained in:
Nikita Gopienko 2020-12-21 16:32:59 +03:00
parent f4cd82f6f0
commit 62ce7a4c40

View File

@ -278,6 +278,10 @@ class SectionHeaderContent extends React.Component {
const folderIds = [];
const items = [];
if (selection.length === 1) {
return window.open(selection[0].viewUrl, "_blank");
}
for (let item of selection) {
if (item.fileExst) {
fileIds.push(item.id);