# HG changeset patch # User Markus Kottlaender # Date 1559574937 -7200 # Node ID 5fb86c26275688a069ec360890d5084a4a75e7d7 # Parent 959312a236a0a01ef7bca6ba733723d5e8cc9b97 client: cross profiles: display reference waterlevel and current waterlevel values in waterlevel dropdown and disabled New button as long as no survey is selected diff -r 959312a236a0 -r 5fb86c262756 client/src/components/fairway/Profiles.vue --- a/client/src/components/fairway/Profiles.vue Mon Jun 03 17:06:41 2019 +0200 +++ b/client/src/components/fairway/Profiles.vue Mon Jun 03 17:15:37 2019 +0200 @@ -47,9 +47,25 @@ > @@ -209,7 +225,11 @@
- @@ -404,6 +424,13 @@ }, mapsAreSynced() { return this.syncedMaps.includes(COMPARESURVEYS.compare.id); + }, + bottleneck() { + return this.openLayersMap() + .getLayer("BOTTLENECKS") + .getSource() + .getFeatures() + .find(f => f.get("objnam") === this.selectedBottleneck); } }, watch: {