changeset 5655:ace5358e1527

Fix “Available fairway depth” button in BN popup.
author Sascha Wilde <wilde@sha-bang.de>
date Thu, 14 Sep 2023 18:52:18 +0200
parents 358130887c72
children 796196f83678
files client/src/components/map/MapPopup.vue
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/map/MapPopup.vue	Tue Aug 08 15:07:00 2023 +0200
+++ b/client/src/components/map/MapPopup.vue	Thu Sep 14 18:52:18 2023 +0200
@@ -223,7 +223,7 @@
         zoom: 16
       });
       const bn = this.bottlenecks.find(
-        b => b.bottleneck_id == this.selectedBottleneck
+        b => b.get("bottleneck_id") == this.selectedBottleneck
       );
       this.$store.commit("bottlenecks/setBottleneckForPrint", bn.name); //name is okay.
       this.openFairwayAvailability();