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

[shared dir view] 'list tagged files' dialog: added 'download' for files

This commit is contained in:
llj
2022-03-15 10:53:16 +08:00
parent 7dbb1ca640
commit 2f16016da6
3 changed files with 16 additions and 6 deletions

View File

@@ -18,7 +18,8 @@ const propTypes = {
updateUsedRepoTags: PropTypes.func,
onFileTagChanged: PropTypes.func,
className: PropTypes.string,
shareLinkToken: PropTypes.string
shareLinkToken: PropTypes.string,
enableFileDownload: PropTypes.bool
};
class RepoInfoBar extends React.Component {
@@ -121,6 +122,7 @@ class RepoInfoBar extends React.Component {
updateUsedRepoTags={this.props.updateUsedRepoTags}
onFileTagChanged={this.props.onFileTagChanged}
shareLinkToken={this.props.shareLinkToken}
enableFileDownload={this.props.enableFileDownload}
/>
</ModalPortal>
)}