mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 12:21:02 +01:00
use to step when not looking for all steps (#5793)
This commit is contained in:
parent
9e2ff189f7
commit
cfd7e586ac
@ -416,7 +416,7 @@ export const funnelLogic = kea<funnelLogicType>({
|
||||
: stepsWithCount[filters.funnel_from_step ?? 0]
|
||||
const toStep = isAllSteps
|
||||
? getLastFilledStep(stepsWithCount)
|
||||
: stepsWithCount[filters.funnel_from_step ?? 0]
|
||||
: stepsWithCount[filters.funnel_to_step ?? 0]
|
||||
|
||||
return {
|
||||
averageTime: toStep?.average_conversion_time || 0,
|
||||
|
Loading…
Reference in New Issue
Block a user