From 44509723fd5a2bf2a2cae02b1bbc3d62dc31e272 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sun, 25 Oct 2026 18:30:27 +0100 Subject: [PATCH] fix(bookings): keep the review's map status within the complexity and strict-null budgets The status hides itself for a stay linked to a trip place instead of each form branching around it, and a lookup takes a missing name. --- client/src/components/Planner/ReservationModal.tsx | 10 ++++++---- client/src/components/Planner/StayPinStatus.test.tsx | 11 +++++++++++ client/src/components/Planner/StayPinStatus.tsx | 6 ++++-- client/src/components/Planner/useStayPin.ts | 4 ++-- .../mobile/screens/trip/sheets/MReservationSheet.tsx | 12 +++++++----- 5 files changed, 30 insertions(+), 13 deletions(-) diff --git a/client/src/components/Planner/ReservationModal.tsx b/client/src/components/Planner/ReservationModal.tsx index 0a61ce5a9..19d863329 100644 --- a/client/src/components/Planner/ReservationModal.tsx +++ b/client/src/components/Planner/ReservationModal.tsx @@ -368,12 +368,14 @@ export function ReservationModal({ isOpen, onClose, onSave, reservation, days, p set('hotel_address', v)} - onPick={!form.hotel_place_id ? stayPin.pick : undefined} + onPick={stayPin.pick} placeholder={t('reservations.locationPlaceholder')} className={INPUT} /> - {!form.hotel_place_id && ( - stayPin.lookUp(form.title, form.hotel_address)} /> - )} +