0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 12:21:02 +01:00

add CH guard to Correlation API Calls (#6315)

This commit is contained in:
Neil Kakkar 2021-10-07 19:00:48 +01:00 committed by GitHub
parent 970e2892b0
commit e062d5113f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -761,7 +761,10 @@ export const funnelLogic = kea<funnelLogicType<FunnelLogicProps>>({
}
// load correlation table after funnel. Maybe parallel?
if (featureFlagLogic.values.featureFlags[FEATURE_FLAGS.CORRELATION_ANALYSIS]) {
if (
featureFlagLogic.values.featureFlags[FEATURE_FLAGS.CORRELATION_ANALYSIS] &&
values.clickhouseFeaturesEnabled
) {
actions.loadCorrelations()
}