mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 22:54:11 +00:00
fix search when change repoID (#6338)
* fix search when change repoID * change function name
This commit is contained in:
@@ -207,6 +207,7 @@ class LibContentView extends React.Component {
|
||||
path: '',
|
||||
isViewFile: false,
|
||||
isLibView: false,
|
||||
currentRepoInfo: null,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -215,6 +216,7 @@ class LibContentView extends React.Component {
|
||||
this.props.eventBus.dispatch(EVENT_BUS_TYPE.CURRENT_LIBRARY_CHANGED, {
|
||||
repoID: this.props.repoID,
|
||||
repoName: this.state.repoName,
|
||||
currentRepoInfo: this.state.currentRepoInfo,
|
||||
path: this.state.path,
|
||||
isViewFile: this.state.isViewFile,
|
||||
isLibView: true,
|
||||
|
Reference in New Issue
Block a user