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

fix: register billing props (#14350)

This commit is contained in:
Emanuele Capparelli 2023-02-21 18:40:30 +00:00 committed by GitHub
parent f19edfd8a9
commit 293ea87ebd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,7 @@ export const billingV2Logic = kea<billingV2LogicType>([
reportBillingAlertShown: (alertConfig: BillingAlertConfig) => ({ alertConfig }),
reportBillingV2Shown: true,
lockIfNecessary: true,
registerInstrumentationProps: true,
}),
connect({
values: [featureFlagLogic, ['featureFlags'], preflightLogic, ['preflight']],
@ -226,6 +227,7 @@ export const billingV2Logic = kea<billingV2LogicType>([
} else {
actions.lockIfNecessary()
}
actions.registerInstrumentationProps()
},
lockIfNecessary: () => {