1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 13:50:07 +00:00

repair download link bug (#3857)

This commit is contained in:
杨顺强
2019-07-16 15:40:23 +08:00
committed by Daniel Pan
parent f3b6f1351c
commit 6fb0b0c811

View File

@@ -154,7 +154,7 @@ class GenerateShareLink extends React.Component {
} }
onCopyDownloadLink = () => { onCopyDownloadLink = () => {
let downloadLink = this.state.sharedLinkInfo.link + '?dl'; let downloadLink = this.state.sharedLinkInfo.link + '?dl=1';
copy(downloadLink); copy(downloadLink);
toaster.success(gettext('Direct download link is copied to the clipboard.')); toaster.success(gettext('Direct download link is copied to the clipboard.'));
this.props.closeShareDialog(); this.props.closeShareDialog();