changeset 5592:613612ce0ff6 surveysperbottleneckid

In addition to objnam display bottleneck_id in MapPopup
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 06 Apr 2022 15:08:00 +0200
parents 0011f50cf216
children 88a41fc07c97
files client/src/components/map/MapPopup.vue
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/map/MapPopup.vue	Wed Apr 06 13:30:29 2022 +0200
+++ b/client/src/components/map/MapPopup.vue	Wed Apr 06 15:08:00 2022 +0200
@@ -6,11 +6,11 @@
         class="d-flex flex-nowrap justify-content-between align-items-center mt-1"
         v-if="bottlenecks.length"
         v-for="bottleneck in bottlenecks"
-        :key="bottleneck.get('objnam')"
+        :key="bottleneck.get('bottleneck_id')"
       >
         <div class="mr-2">
           <font-awesome-icon icon="ship" class="mr-1" fixed-width />
-          {{ bottleneck.get("objnam") }}
+          {{ bottleneck.get("objnam") }} [{{ bottleneck.get("bottleneck_id") }}]
         </div>
         <div>
           <button