diff --git a/client/src/components/Planner/BookingCostsSection.tsx b/client/src/components/Planner/BookingCostsSection.tsx index f8c5e9bec..af3cb7278 100644 --- a/client/src/components/Planner/BookingCostsSection.tsx +++ b/client/src/components/Planner/BookingCostsSection.tsx @@ -100,7 +100,7 @@ export function BookingCostsSection({ reservationId, placeId = null, hintKey = ' {t('reservations.createExpense')} {/* Linking needs the record to exist, so it waits for the first save. */} - {targetId && ( + {targetId !== null && ( { diff --git a/client/src/mobile/screens/trip/sheets/MLinkedCosts.tsx b/client/src/mobile/screens/trip/sheets/MLinkedCosts.tsx index 1a1dbe1d0..ab4862348 100644 --- a/client/src/mobile/screens/trip/sheets/MLinkedCosts.tsx +++ b/client/src/mobile/screens/trip/sheets/MLinkedCosts.tsx @@ -92,7 +92,7 @@ export default function MLinkedCosts({ reservationId = null, placeId = null, hin {t('reservations.createExpense')} {/* Linking needs the record to exist, so it waits for the first save. */} - {targetId && ( + {targetId !== null && (