Skip to content

Commit

Permalink
feat(experiments): Filter 'View recordings' to 1st funnel step (#26678)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber authored Dec 5, 2024
1 parent 2919e27 commit 4c95677
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<RecordingUniversalFilters> = {
filter_group: {
type: FilterLogicalOperator.And,
Expand Down

0 comments on commit 4c95677

Please sign in to comment.