open Location in journal-map

This commit is contained in:
Timi
2025-12-11 01:05:02 +08:00
parent 861ae8baff
commit 0379a1d3b5
6 changed files with 24 additions and 32 deletions

View File

@ -2,7 +2,7 @@
import config from "../../../config/index";
import Time from "../../../utils/Time";
import { Journal, JournalPageType } from "../../../types/Journal";
import { MediaAttachExt, MediaAttachType } from "../../../types/Attachment";
import { MediaAttachType } from "../../../types/Attachment";
import Toolkit from "../../../utils/Toolkit";
interface MapMarker {
@ -239,6 +239,8 @@ Page({
id: journal.id,
date: Time.toPassedDateTime(journal.createdAt),
time: `${String(date.getHours()).padStart(2, '0')}:${String(date.getMinutes()).padStart(2, '0')}`,
lat: journal.lat,
lng: journal.lng,
location: journal.location,
idea: journal.idea,
items: journal.items

View File

@ -41,8 +41,6 @@
visible="{{showDetail && detailVisible}}"
title="{{selectedLocation.location}}"
journals="{{selectedLocation.journals}}"
show-location-icon="{{true}}"
show-journal-date="{{true}}"
show-journal-location="{{false}}"
mode="LOCATION"
bind:close="closeDetail"
/>