forget defaultworkspace update (#9292)

fix #9229

see issue for more info
This commit is contained in:
Guillim
2024-12-31 10:54:05 +01:00
committed by GitHub
parent 5bd685ef2a
commit 2277952403

View File

@ -73,7 +73,7 @@ export const useUpdateOneFieldMetadataItem = () => {
await refreshObjectMetadataItems();
const { data } = await apolloClient.query({ query: GET_CURRENT_USER });
setCurrentWorkspace(data?.currentUser?.defaultWorkspace);
setCurrentWorkspace(data?.currentUser?.currentWorkspace);
await apolloClient.query({
query: findManyViewsQuery,