From 4c95677ce8ff6932a91e1624e814e8a1f7d1f0a2 Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Thu, 5 Dec 2024 12:33:32 -0800 Subject: [PATCH] feat(experiments): Filter 'View recordings' to 1st funnel step (#26678) --- .../src/scenes/experiments/ExperimentView/SummaryTable.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/scenes/experiments/ExperimentView/SummaryTable.tsx b/frontend/src/scenes/experiments/ExperimentView/SummaryTable.tsx index b859dae72e071..4ba16ded0e86c 100644 --- a/frontend/src/scenes/experiments/ExperimentView/SummaryTable.tsx +++ b/frontend/src/scenes/experiments/ExperimentView/SummaryTable.tsx @@ -323,6 +323,13 @@ export function SummaryTable(): JSX.Element { ], }, ] + if (experiment.filters.insight === InsightType.FUNNELS) { + if (experiment.filters?.events?.[0]) { + filters.push(experiment.filters.events[0]) + } else if (experiment.filters?.actions?.[0]) { + filters.push(experiment.filters.actions[0]) + } + } const filterGroup: Partial = { filter_group: { type: FilterLogicalOperator.And,