From c5a5efbf019558bb601d09b24b359906fd931810 Mon Sep 17 00:00:00 2001 From: p11037 Date: Sat, 9 Dec 2023 21:52:40 +0700 Subject: [PATCH] wheelchair access --- src/components/DestinationInfoCard.vue | 13 +++++++++++++ src/views/Home.vue | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/components/DestinationInfoCard.vue b/src/components/DestinationInfoCard.vue index 362e591..d903512 100644 --- a/src/components/DestinationInfoCard.vue +++ b/src/components/DestinationInfoCard.vue @@ -36,6 +36,17 @@ {{nearestStructureData.lon}} , {{nearestStructureData.lat}} + + + {{nearestStructureData.infoWheelchair}} + + @@ -223,6 +234,8 @@ export default { props: { nearestStructureData: Object, onClose: Function, + infoWheelchair: String + }, data() { return { diff --git a/src/views/Home.vue b/src/views/Home.vue index 1511d82..4e62571 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -201,7 +201,7 @@ out;`; nearestStructureData = { ...nearestStructureData, - infoWheelchair: infoWheelchair.value + infoWheelchair: infoWheelchair } //infoWheelchair can null,yes,no popupData.value = nearestStructureData; // Show popup