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.
This commit is contained in:
Maurice
2026-10-25 18:30:27 +01:00
parent b80fdf27f2
commit 44509723fd
5 changed files with 30 additions and 13 deletions
@@ -339,11 +339,13 @@ export default function MReservationSheet({ planner, onOpenExpense }: MReservati
placeholder={t('reservations.locationPlaceholder')}
className={FIELD_CLS}
/>
{!form.hotel_place_id && (
<div className="mt-2">
<StayPinStatus pin={stayPin.pin} onRetry={() => stayPin.lookUp(form.title, form.hotel_address)} />
</div>
)}
<div className="mt-2 empty:hidden">
<StayPinStatus
pin={stayPin.pin}
hidden={!!form.hotel_place_id}
onRetry={() => stayPin.lookUp(form.title, form.hotel_address)}
/>
</div>
</>
)}