From e64012e71a96edb6cb541ceb2d0cae36f1b10d26 Mon Sep 17 00:00:00 2001 From: joselegitan Date: Wed, 29 Nov 2023 11:05:44 +0100 Subject: [PATCH] feat: update routeMap poi to have position + update poiDeck to be more generic --- components/PoisCard/PoiCardLight.vue | 2 +- components/PoisCard/PoisDeck.vue | 3 +-- components/PoisDetails/Route/RouteMap.vue | 5 +++-- lib/apiPoiDeps.ts | 4 +++- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/components/PoisCard/PoiCardLight.vue b/components/PoisCard/PoiCardLight.vue index cf8213016..02a645e90 100644 --- a/components/PoisCard/PoiCardLight.vue +++ b/components/PoisCard/PoiCardLight.vue @@ -15,7 +15,7 @@ :picto="icon" size="lg" :image="undefined" - :text="position" + :text="poi.properties.position" /> {{ name }} diff --git a/components/PoisCard/PoisDeck.vue b/components/PoisCard/PoisDeck.vue index ba5128efe..58658f350 100644 --- a/components/PoisCard/PoisDeck.vue +++ b/components/PoisCard/PoisDeck.vue @@ -2,10 +2,9 @@