1
0
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:
Michael An
2024-07-11 20:37:57 +08:00
committed by GitHub
parent 1963e7538e
commit 10dfe2e47c
4 changed files with 60 additions and 29 deletions

View File

@@ -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,