Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 96acd6a

Browse files
committed
fix sync after edit
1 parent ffa7757 commit 96acd6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎client/packages/lowcoder/src/redux/sagas/orgSagas.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,8 @@ export function* updateOrgSaga(action: ReduxAction<UpdateOrgPayload>) {
286286
const isValidResponse: boolean = validateResponse(response);
287287
if (isValidResponse) {
288288
yield put(updateOrgSuccess(action.payload));
289+
// Refetch workspaces to update the profile dropdown
290+
yield put(fetchWorkspacesAction(1, 10));
289291
}
290292
} catch (error: any) {
291293
messageInstance.error(error.message);

0 commit comments

Comments
 (0)