Skip to content

Commit

Permalink
Fix Goal component for funnels
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber committed Dec 13, 2024
1 parent 7e29106 commit 963489a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/scenes/experiments/ExperimentView/Goal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ export function Goal(): JSX.Element {
// :FLAG: CLEAN UP AFTER MIGRATION
const isDataWarehouseMetric =
featureFlags[FEATURE_FLAGS.EXPERIMENTS_HOGQL] &&
(experiment.metrics[0] as ExperimentTrendsQuery).count_query.series[0].kind === NodeKind.DataWarehouseNode
metricType === InsightType.TRENDS &&
(experiment.metrics[0] as ExperimentTrendsQuery).count_query?.series[0].kind === NodeKind.DataWarehouseNode

return (
<div>
Expand Down

0 comments on commit 963489a

Please sign in to comment.