Fix mistake introduced in previous commit.

Debugging code incorrectly reverted.
This commit is contained in:
Dan Albert 2022-03-04 02:23:42 -08:00
parent 811f46c289
commit 980d8f3092

View File

@ -40,7 +40,7 @@ function FlightPlanPath(props: FlightPlanProps) {
} }
const WaypointMarkers = (props: FlightPlanProps) => { const WaypointMarkers = (props: FlightPlanProps) => {
if (props.selected && props.flight.waypoints == null) { if (!props.selected || props.flight.waypoints == null) {
return <></>; return <></>;
} }