From 45a5b4e5889aa9d5340008e10b3bc33fce7a38a6 Mon Sep 17 00:00:00 2001 From: jubnl Date: Wed, 22 Apr 2026 16:33:04 +0200 Subject: [PATCH] fix: remove obsolete map share toggle and make public desktop entries openable Map permission is always enabled on new links (share always includes map). Removed the toggle from the share settings UI since the map is now always part of the combined timeline+map view with no standalone value in toggling it. Desktop entry cards on the public share page now open MobileEntryView on click, matching the mobile behaviour added in #826. --- client/src/pages/JourneyDetailPage.tsx | 1 - client/src/pages/JourneyPublicPage.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/pages/JourneyDetailPage.tsx b/client/src/pages/JourneyDetailPage.tsx index e7aa51f9..1e22e62e 100644 --- a/client/src/pages/JourneyDetailPage.tsx +++ b/client/src/pages/JourneyDetailPage.tsx @@ -2941,7 +2941,6 @@ function JourneyShareSection({ journeyId }: { journeyId: number }) { {[ { key: 'share_timeline' as const, label: t('journey.share.timeline'), icon: List }, { key: 'share_gallery' as const, label: t('journey.share.gallery'), icon: Grid }, - { key: 'share_map' as const, label: t('journey.share.map'), icon: MapPin }, ].map(({ key, label, icon: Icon }) => (