From 0a98d3c2e7f41de11ed82678a36e10acc074a8b1 Mon Sep 17 00:00:00 2001 From: Maurice Date: Tue, 21 Apr 2026 11:24:07 +0200 Subject: [PATCH] fix: filter [Trip Photos] container from mobile public view (#764) MobileMapTimeline received the raw entries array, bypassing the synthetic-container filter applied to timelineEntries. On screens below the lg breakpoint (<1024px) the [Trip Photos] sync container leaked back into the combined map+timeline view. --- client/src/pages/JourneyPublicPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/pages/JourneyPublicPage.tsx b/client/src/pages/JourneyPublicPage.tsx index 667c6388..7e08c71a 100644 --- a/client/src/pages/JourneyPublicPage.tsx +++ b/client/src/pages/JourneyPublicPage.tsx @@ -219,7 +219,7 @@ export default function JourneyPublicPage() { {/* Mobile combined map+timeline (public, read-only) */} {isMobile && view === 'timeline' && perms.share_timeline && perms.share_map && ( ({ id: String(e.id), lat: e.location_lat!, lng: e.location_lng!, title: e.title, mood: e.mood, entry_date: e.entry_date }))} dark={document.documentElement.classList.contains('dark')} readOnly