mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 12:21:02 +01:00
fix: add null check to feature flags autorollback (#12656)
fix: add null checK
This commit is contained in:
parent
05edc3a07c
commit
8cd440175a
@ -456,7 +456,7 @@ export const featureFlagLogic = kea<featureFlagLogicType>([
|
||||
}
|
||||
},
|
||||
loadAllInsightsForFlag: () => {
|
||||
values.featureFlag.rollback_conditions.forEach((condition, index) => {
|
||||
values.featureFlag.rollback_conditions?.forEach((condition, index) => {
|
||||
if (condition.threshold_metric) {
|
||||
actions.loadInsightAtIndex(index, condition.threshold_metric)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user