From 6f61b66c5c7c86ba5083a318e367b5b090c474dd Mon Sep 17 00:00:00 2001 From: Maurice Date: Mon, 28 Sep 2026 21:55:38 +0200 Subject: [PATCH] fix(share): the day line on the shared map asks for a picked day as a boolean `selectedDay && ...` would render a 0 if a day id were ever 0; the check is explicit now. --- client/src/pages/sharedTrip/SharedMap.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/pages/sharedTrip/SharedMap.tsx b/client/src/pages/sharedTrip/SharedMap.tsx index 945142bb1..3ed817267 100644 --- a/client/src/pages/sharedTrip/SharedMap.tsx +++ b/client/src/pages/sharedTrip/SharedMap.tsx @@ -123,7 +123,7 @@ export function SharedMap({ places, line, orderByPlace, cartoApiKey, days, selec )} - {selectedDay && line.length > 1 && ( + {selectedDay != null && line.length > 1 && ( [p.lat, p.lng])} // Dashed and straight on purpose: it shows the order of the day's stops,