mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 18:30:53 +00:00
optimization code
This commit is contained in:
@@ -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}
|
||||
|
Reference in New Issue
Block a user