diff --git a/gui/src/redux/thunks/profileAndOrg.ts b/gui/src/redux/thunks/profileAndOrg.ts index 53bb7a5ae..6632b77ab 100644 --- a/gui/src/redux/thunks/profileAndOrg.ts +++ b/gui/src/redux/thunks/profileAndOrg.ts @@ -129,7 +129,7 @@ export const selectOrgThunk = createAsyncThunk< // Fallback to Personal (org = null) if (initialId !== newId) { - dispatch(setAvailableProfiles([])); + dispatch(setAvailableProfiles(null)); dispatch(setSelectedOrganizationId(newId)); extra.ideMessenger.post("didChangeSelectedOrg", { id: newId,