Merge branch 'master' into fix/update-search-ui

This commit is contained in:
JimmFly 2023-02-07 16:07:43 +08:00
commit 9e15f1add9

View File

@ -141,6 +141,7 @@ export const AppStateProvider = ({
}
setAppState({
...appState,
workspaceList: dataCenter.workspaces,
user,
});
return user;
@ -151,6 +152,7 @@ export const AppStateProvider = ({
await dataCenter.logout();
setAppState({
...appState,
workspaceList: dataCenter.workspaces,
user: null,
});
};