1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 17:33:18 +00:00

add libraryType to choose different create repo method

This commit is contained in:
shanshuirenjia
2018-12-07 13:21:43 +08:00
parent a51bc8cea5
commit 6420c7fcdb
4 changed files with 36 additions and 23 deletions

View File

@@ -403,7 +403,7 @@ class MyLibraries extends Component {
return (
<Fragment>
<div className="main-panel-north">
<RepoViewToolbar onShowSidePanel={this.props.onShowSidePanel} onCreateRepo={this.onCreateRepo} />
<RepoViewToolbar onShowSidePanel={this.props.onShowSidePanel} onCreateRepo={this.onCreateRepo} libraryType={'mine'}/>
<CommonToolbar onSearchedClick={this.props.onSearchedClick} />
</div>
<div className="main-panel-center">