Skip to content

Commit

Permalink
Show dropped off users in modal (#5315)
Browse files Browse the repository at this point in the history
  • Loading branch information
neilkakkar authored Jul 23, 2021
1 parent 2b3eb62 commit 9630f31
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,7 @@ export function FunnelStepTable({}: FunnelStepTableProps): JSX.Element | null {
title: 'Dropped off',
render: function RenderDropoff({}, step: FlattenedFunnelStep): JSX.Element | null {
return step.order === 0 ? null : (
<ValueInspectorButton
onClick={() =>
openPersonsModal(step, step.order + 1, step.breakdown)
} /* TODO: does this modal support dropped off users? */
>
<ValueInspectorButton onClick={() => openPersonsModal(step, -(step.order + 1), step.breakdown)}>
{step.droppedOffFromPrevious}
</ValueInspectorButton>
)
Expand Down

0 comments on commit 9630f31

Please sign in to comment.