1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 18:30:53 +00:00

optimization code

This commit is contained in:
zxj96
2019-04-25 18:28:52 +08:00
parent 2c83d6882c
commit b79894cb72
4 changed files with 9 additions and 18 deletions

View File

@@ -71,6 +71,7 @@ class LibContentToolbar extends React.Component {
relatedFiles={this.props.relatedFiles}
onFileTagChanged={this.props.onFileTagChanged}
onRelatedFileChange={this.props.onRelatedFileChange}
showShareBtn={this.props.showShareBtn}
/>
<ViewModeToolbar currentMode={this.props.currentMode} switchViewMode={this.props.switchViewMode}/>
</div>
@@ -101,6 +102,7 @@ class LibContentToolbar extends React.Component {
relatedFiles={this.props.relatedFiles}
unSelectDirent={this.props.unSelectDirent}
onFilesTagChanged={this.props.onFilesTagChanged}
showShareBtn={this.props.showShareBtn}
/> :
<DirOperationToolBar
path={this.props.path}