File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,14 +105,14 @@ export function getEventPropertiesForMetric(
105105 } else if ( metric . kind === NodeKind . ExperimentFunnelsQuery ) {
106106 return {
107107 kind : NodeKind . ExperimentFunnelsQuery ,
108- steps_count : metric . funnels_query . series . length ,
109- filter_test_accounts : metric . funnels_query . filterTestAccounts ,
108+ steps_count : metric . funnels_query ? .series ? .length ,
109+ filter_test_accounts : metric . funnels_query ? .filterTestAccounts ,
110110 }
111111 }
112112 return {
113113 kind : NodeKind . ExperimentTrendsQuery ,
114- series_kind : metric . count_query . series [ 0 ] . kind ,
115- filter_test_accounts : metric . count_query . filterTestAccounts ,
114+ series_kind : metric . count_query ? .series ?. [ 0 ] ? .kind ,
115+ filter_test_accounts : metric . count_query ? .filterTestAccounts ,
116116 }
117117}
118118
You can’t perform that action at this time.
0 commit comments