From 96a5a6ac349ab344f0b0c89c487747e15d7ff675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Tue, 30 Jun 2026 15:11:53 +0200 Subject: [PATCH] Show "Saved place" type for non-OSM places in lists --- app/components/places-sidebar.gjs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/components/places-sidebar.gjs b/app/components/places-sidebar.gjs index 0136405..9d011b0 100644 --- a/app/components/places-sidebar.gjs +++ b/app/components/places-sidebar.gjs @@ -238,12 +238,10 @@ export default class PlacesSidebar extends Component { {{humanizeOsmTag place.type}} {{else if (eq place.source "photon")}} {{place.description}} + {{else if (getPlaceType place.osmTags)}} + {{getPlaceType place.osmTags}} {{else}} - {{#if place.osmTags}} - {{humanizeOsmTag (getPlaceType place.osmTags)}} - {{else if place.description}} - {{place.description}} - {{/if}} + Saved place {{/if}}