1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 07:41:26 +00:00

fix change left forder node bug

This commit is contained in:
杨顺强
2025-02-17 17:36:34 +08:00
parent cdd059fdb9
commit 2e0fdf1049

View File

@@ -570,8 +570,7 @@ class LibContentView extends React.Component {
path, path,
isSessionExpired: false, isSessionExpired: false,
currentDirent: null, currentDirent: null,
}); }, () => {
if (this.state.currentRepoInfo.is_admin) { if (this.state.currentRepoInfo.is_admin) {
if (this.foldersSharedOut) { if (this.foldersSharedOut) {
this.identifyFoldersSharedOut(); this.identifyFoldersSharedOut();
@@ -587,6 +586,8 @@ class LibContentView extends React.Component {
}); });
} }
} }
});
}).catch((err) => { }).catch((err) => {
Utils.getErrorMsg(err, true); Utils.getErrorMsg(err, true);
if (err.response && err.response.status === 403) { if (err.response && err.response.status === 403) {