From cd610f9d4bfc50a21fa05a117f5cb83f581c81d1 Mon Sep 17 00:00:00 2001 From: Paolo D'Amico Date: Wed, 21 Jul 2021 08:23:02 -0500 Subject: [PATCH] positive check --- frontend/src/scenes/funnels/funnelLogic.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/scenes/funnels/funnelLogic.ts b/frontend/src/scenes/funnels/funnelLogic.ts index 786039d6f48..0eb7ed255c4 100644 --- a/frontend/src/scenes/funnels/funnelLogic.ts +++ b/frontend/src/scenes/funnels/funnelLogic.ts @@ -85,8 +85,7 @@ async function pollFunnel(apiParams: FunnelRequestParams): Pro } export const cleanFunnelParams = (filters: Partial, returnOnlyFunnelParams = false): FilterType => { - const breakdownEnabled = - filters.funnel_viz_type !== FunnelVizType.Trends && filters.funnel_viz_type !== FunnelVizType.TimeToConvert + const breakdownEnabled = filters.funnel_viz_type === FunnelVizType.Steps return { ...(returnOnlyFunnelParams ? {} : filters),