Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

fix(map): conditionally display separator for city information in photo marker

Timothy Yin6522ef2e064f
diff --git a/app/components/map/PhotoPin.vue b/app/components/map/PhotoPin.vue
index dc58de65..144ce5ef 100644
--- a/app/components/map/PhotoPin.vue
+++ b/app/components/map/PhotoPin.vue
@@ -173,7 +173,7 @@ const onClick = () => {
{{ marker.city }}
</span>
</div>
- <span>·</span>
+ <span v-if="marker.city">·</span>
<div v-if="marker.exif?.DateTimeOriginal">
<span class="truncate">
{{ dayjs(marker.exif.DateTimeOriginal).format('ll') }}