0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 00:47:50 +01:00

hide funnel persons on postgres

This commit is contained in:
Li Yi Yu 2021-07-06 13:07:26 -04:00
parent 05418cdd89
commit fa01a60457

View File

@ -227,10 +227,10 @@ export const funnelLogic = kea<funnelLogicType>({
},
],
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 }) => ({