From 980d8f3092be8d6a18f10f601238385160c3ebc0 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Fri, 4 Mar 2022 02:23:42 -0800 Subject: [PATCH] Fix mistake introduced in previous commit. Debugging code incorrectly reverted. --- client/src/components/flightplan/FlightPlan.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/flightplan/FlightPlan.tsx b/client/src/components/flightplan/FlightPlan.tsx index ff20eb66..2110b46b 100644 --- a/client/src/components/flightplan/FlightPlan.tsx +++ b/client/src/components/flightplan/FlightPlan.tsx @@ -40,7 +40,7 @@ function FlightPlanPath(props: FlightPlanProps) { } const WaypointMarkers = (props: FlightPlanProps) => { - if (props.selected && props.flight.waypoints == null) { + if (!props.selected || props.flight.waypoints == null) { return <>; }