1
0
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:
Michael An
2024-08-27 18:30:42 +08:00
committed by GitHub
parent a9f7442a9b
commit 4e926821a0

View File

@@ -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);
}