Web: Files: fixed download file
This commit is contained in:
parent
f4cd82f6f0
commit
62ce7a4c40
@ -278,6 +278,10 @@ class SectionHeaderContent extends React.Component {
|
|||||||
const folderIds = [];
|
const folderIds = [];
|
||||||
const items = [];
|
const items = [];
|
||||||
|
|
||||||
|
if (selection.length === 1) {
|
||||||
|
return window.open(selection[0].viewUrl, "_blank");
|
||||||
|
}
|
||||||
|
|
||||||
for (let item of selection) {
|
for (let item of selection) {
|
||||||
if (item.fileExst) {
|
if (item.fileExst) {
|
||||||
fileIds.push(item.id);
|
fileIds.push(item.id);
|
||||||
|
Loading…
Reference in New Issue
Block a user