diff --git a/frontend/src/scenes/funnels/funnelLogic.ts b/frontend/src/scenes/funnels/funnelLogic.ts index 3b333f887a2..e74fd1d27e2 100644 --- a/frontend/src/scenes/funnels/funnelLogic.ts +++ b/frontend/src/scenes/funnels/funnelLogic.ts @@ -227,10 +227,10 @@ export const funnelLogic = kea({ }, ], funnelPersonsEnabled: [ - () => [featureFlagLogic.selectors.featureFlags], - (featureFlags) => featureFlags[FEATURE_FLAGS.FUNNEL_PERSONS_MODAL], + () => [selectors.featureFlags, selectors.preflight], + (featureFlags, preflight) => + featureFlags[FEATURE_FLAGS.FUNNEL_PERSONS_MODAL] && preflight?.is_clickhouse_enabled, ], - clickhouseEnabled: [() => [selectors.preflight], (preflight) => preflight?.is_clickhouse_enabled], }), listeners: ({ actions, values, props }) => ({