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

repair download link bug (#3858)

This commit is contained in:
杨顺强
2019-07-16 15:47:20 +08:00
committed by Daniel Pan
parent d6bba483be
commit 0fc368648a

View File

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