Web: Files : Home: Fixed downloading action

This commit is contained in:
Ilya Oleshko 2020-12-14 18:21:45 +03:00
parent ca9e7bd58a
commit 8fd87415fd

View File

@ -254,7 +254,7 @@ class SectionHeaderContent extends React.Component {
setTimeout(() => this.loop(currentItem), 1000);
} else {
setTimeout(() => this.props.clearSecondaryProgressData(), TIMEOUT);
return window.open(url, "_blank");
return (window.location.href = url);
}
})
.catch((err) => {