diff --git a/frontend/src/lib/introductions/groupsAccessLogic.ts b/frontend/src/lib/introductions/groupsAccessLogic.ts index 37bcb2e97972c..960c3af6d8e88 100644 --- a/frontend/src/lib/introductions/groupsAccessLogic.ts +++ b/frontend/src/lib/introductions/groupsAccessLogic.ts @@ -16,9 +16,9 @@ export enum GroupsAccessStatus { export const groupsAccessLogic = kea([ path(['lib', 'introductions', 'groupsAccessLogic']), - connect({ + connect(() => ({ values: [teamLogic, ['currentTeam'], preflightLogic, ['preflight'], userLogic, ['hasAvailableFeature']], - }), + })), selectors({ groupsEnabled: [ (s) => [s.hasAvailableFeature], diff --git a/frontend/src/models/groupsModel.ts b/frontend/src/models/groupsModel.ts index eb8babc316dc2..69ff703fcc042 100644 --- a/frontend/src/models/groupsModel.ts +++ b/frontend/src/models/groupsModel.ts @@ -17,9 +17,9 @@ export interface Noun { export const groupsModel = kea([ path(['models', 'groupsModel']), - connect({ + connect(() => ({ values: [teamLogic, ['currentTeamId'], groupsAccessLogic, ['groupsEnabled', 'groupsAccessStatus']], - }), + })), loaders(({ values }) => ({ groupTypesRaw: [ [] as Array,