diff --git a/lib/dotcom_web/components/trip_planner/transit_leg.ex b/lib/dotcom_web/components/trip_planner/transit_leg.ex index 0be22e6f29..a0b99c3763 100644 --- a/lib/dotcom_web/components/trip_planner/transit_leg.ex +++ b/lib/dotcom_web/components/trip_planner/transit_leg.ex @@ -45,7 +45,7 @@ defmodule DotcomWeb.Components.TripPlanner.TransitLeg do
- <%= if Enum.count(@leg.mode.intermediate_stops) < 2 do %> + <%= if Enum.count(@leg.mode.intermediate_stops) == 0 do %>
<.leg_summary leg={@leg} alerts={@alerts.route} /> <.leg_details leg={@leg} /> @@ -54,7 +54,6 @@ defmodule DotcomWeb.Components.TripPlanner.TransitLeg do
<.leg_summary leg={@leg} alerts={@alerts.route} /> - <.icon name="chevron-down" class="ml-auto shrink-0 w-4 h-4 fill-brand-primary group-open/stops:rotate-180"