Show unbooked flights in orange

Closes: #114
This commit is contained in:
Edward Betts 2024-01-16 17:11:55 +00:00
parent 39f9c98a51
commit 3a7784bb25
3 changed files with 4 additions and 4 deletions

View file

@ -233,7 +233,7 @@ def trip_page(start: str) -> str:
coordinates = agenda.trip.collect_trip_coordinates(trip)
routes = agenda.trip.get_trip_routes(trip)
if any(route["type"] == "flight" for route in routes) and not any(
if any(route["type"] == "unbooked_flight" for route in routes) and not any(
pin["type"] == "airport" for pin in coordinates
):
airports = typing.cast(