fix(flight-live): keep a past flight's times in its booking view

The booking dialog and the phone sheet hid their departure and arrival tiles
as soon as the store held any leg of the flight, but a leg long over or never
seen by the feed draws no live card, so such a flight showed no times at
all. Both views now hide the tiles only for legs that get a card.
This commit is contained in:
Maurice
2026-11-16 10:45:23 +01:00
parent ea5542f8eb
commit 856d1e5ea5
7 changed files with 99 additions and 10 deletions
+6
View File
@@ -963,6 +963,12 @@
"desktop": ["src/components/Planner/DayPlanSidebarTransportDetailModal.tsx"],
"mobile": ["src/mobile/screens/trip/sheets/MTransportSheet.tsx"]
},
{
"feature": "Live flight cards in the booking detail: useFlightLiveCard",
"hooks": ["src/components/Planner/flightLive/useFlightLiveCard.ts"],
"desktop": ["src/components/Planner/bookings/BookingDetailDialog.tsx"],
"mobile": ["src/mobile/screens/trip/sheets/MTransportSheet.tsx"]
},
{
"feature": "Transport booking form: bookingFormModel",
"hooks": ["src/components/Planner/bookingFormModel.ts"],