mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 19:16:08 +00:00
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:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user