mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 22:01:06 +00:00
repair download link bug (#3857)
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user