mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 00:47:50 +01:00
positive check
This commit is contained in:
parent
4281e2ecc4
commit
cd610f9d4b
@ -85,8 +85,7 @@ async function pollFunnel<T = FunnelStep[]>(apiParams: FunnelRequestParams): Pro
|
||||
}
|
||||
|
||||
export const cleanFunnelParams = (filters: Partial<FilterType>, 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),
|
||||
|
Loading…
Reference in New Issue
Block a user