mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
Merge pull request #778 from mauriceboe/fix/public-mobile-trip-photos-filter
fix: filter [Trip Photos] container from mobile public view (#764)
This commit is contained in:
@@ -219,7 +219,7 @@ export default function JourneyPublicPage() {
|
|||||||
{/* Mobile combined map+timeline (public, read-only) */}
|
{/* Mobile combined map+timeline (public, read-only) */}
|
||||||
{isMobile && view === 'timeline' && perms.share_timeline && perms.share_map && (
|
{isMobile && view === 'timeline' && perms.share_timeline && perms.share_map && (
|
||||||
<MobileMapTimeline
|
<MobileMapTimeline
|
||||||
entries={entries}
|
entries={timelineEntries}
|
||||||
mapEntries={mapEntries.map(e => ({ id: String(e.id), lat: e.location_lat!, lng: e.location_lng!, title: e.title, mood: e.mood, entry_date: e.entry_date }))}
|
mapEntries={mapEntries.map(e => ({ 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')}
|
dark={document.documentElement.classList.contains('dark')}
|
||||||
readOnly
|
readOnly
|
||||||
|
|||||||
Reference in New Issue
Block a user