mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-07 01:41:39 +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');
|
const isGroupOwnedRepo = repoInfo.owner_email.includes('@seafile_group');
|
||||||
|
|
||||||
this.setState({
|
this.setState({
|
||||||
|
treeData: treeHelper.buildTree(),
|
||||||
currentRepoInfo: repoInfo,
|
currentRepoInfo: repoInfo,
|
||||||
repoName: repoInfo.repo_name,
|
repoName: repoInfo.repo_name,
|
||||||
libNeedDecrypt: repoInfo.lib_need_decrypt,
|
libNeedDecrypt: repoInfo.lib_need_decrypt,
|
||||||
@@ -164,6 +165,10 @@ class LibContentView extends React.Component {
|
|||||||
path: path
|
path: path
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (this.state.isTreePanelShown) {
|
||||||
|
this.loadSidePanel(path);
|
||||||
|
}
|
||||||
|
|
||||||
if (repoInfo.permission.startsWith('custom-')) {
|
if (repoInfo.permission.startsWith('custom-')) {
|
||||||
await this.setCustomPermission(repoID, repoInfo.permission);
|
await this.setCustomPermission(repoID, repoInfo.permission);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user