Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0611910 commit ffa7757Copy full SHA for ffa7757
‎client/packages/lowcoder/src/redux/sagas/orgSagas.ts
@@ -25,6 +25,7 @@ import {
25
fetchLastMonthAPIUsageActionSuccess,
26
UpdateUserGroupRolePayload,
27
UpdateUserOrgRolePayload,
28
+ fetchWorkspacesAction,
29
} from "redux/reduxActions/orgActions";
30
import { getUser } from "redux/selectors/usersSelectors";
31
import { validateResponse } from "api/apiUtils";
@@ -270,6 +271,8 @@ export function* deleteOrgSaga(action: ReduxAction<{ orgId: string }>) {
270
271
orgId: action.payload.orgId,
272
},
273
});
274
+ // Refetch workspaces to update the profile dropdown
275
+ yield put(fetchWorkspacesAction(1, 10));
276
}
277
} catch (error: any) {
278
messageInstance.error(error.message);
0 commit comments