diff --git a/client/src/components/flightplan/FlightPlan.tsx b/client/src/components/flightplan/FlightPlan.tsx index 2c48ed7a..950bd31b 100644 --- a/client/src/components/flightplan/FlightPlan.tsx +++ b/client/src/components/flightplan/FlightPlan.tsx @@ -48,14 +48,16 @@ const WaypointMarkers = (props: FlightPlanProps) => { var markers: ReactElement[] = []; props.flight.waypoints?.forEach((p, idx) => { - markers.push( - - ); + if (p.should_mark) { + markers.push( + + ); + } }); return <>{markers};