mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
fix search another result page refresh (#6653)
This commit is contained in:
@@ -156,6 +156,7 @@ class LibContentView extends React.Component {
|
||||
const isGroupOwnedRepo = repoInfo.owner_email.includes('@seafile_group');
|
||||
|
||||
this.setState({
|
||||
treeData: treeHelper.buildTree(),
|
||||
currentRepoInfo: repoInfo,
|
||||
repoName: repoInfo.repo_name,
|
||||
libNeedDecrypt: repoInfo.lib_need_decrypt,
|
||||
@@ -164,6 +165,10 @@ class LibContentView extends React.Component {
|
||||
path: path
|
||||
});
|
||||
|
||||
if (this.state.isTreePanelShown) {
|
||||
this.loadSidePanel(path);
|
||||
}
|
||||
|
||||
if (repoInfo.permission.startsWith('custom-')) {
|
||||
await this.setCustomPermission(repoID, repoInfo.permission);
|
||||
}
|
||||
|
Reference in New Issue
Block a user