# HG changeset patch # User Thomas Junk # Date 1557241151 -7200 # Node ID 1ba2a7d22fbb3c105bcd9cf30778e87715c04209 # Parent f64cc98746a11a5a87626e8d144ec624bb6fdb84 available_fairway_depth: display selected feature diff -r f64cc98746a1 -r 1ba2a7d22fbb client/src/components/Statistics.vue --- a/client/src/components/Statistics.vue Tue May 07 16:30:20 2019 +0200 +++ b/client/src/components/Statistics.vue Tue May 07 16:59:11 2019 +0200 @@ -120,12 +120,12 @@ const bn = this.bottlenecksList.filter( x => x.properties.name === this.selectedBottleneck )[0]; - this.$store.commit("fairwayprofile/setSelectedFairwayAvailability", bn); + this.$store.commit("diagram/setSelectedFairwayAvailability", bn); } }, computed: { ...mapState("application", ["showStatistics", "paneSetup", "showProfiles"]), - ...mapState("fairwayprofile", ["selectedFairwayAvailabilityFeature"]), + ...mapState("diagram", ["selectedFairwayAvailabilityFeature"]), ...mapState("imports", ["stretches"]), ...mapState("bottlenecks", ["bottlenecksList", "selectedBottleneck"]), ...mapGetters("map", ["openLayersMap"]), @@ -134,10 +134,7 @@ return this.selectedFairwayAvailabilityFeature; }, set(feature) { - this.$store.commit( - "fairwayprofile/setSelectedFairwayAvailability", - feature - ); + this.$store.commit("diagram/setSelectedFairwayAvailability", feature); } }, entries() { @@ -165,10 +162,7 @@ if (this.type === this.$options.BOTTLENECKS && this.selectedBottleneck) { this.setSelectedBottleneck(); } else { - this.$store.commit( - "fairwayprofile/setSelectedFairwayAvailability", - null - ); + this.$store.commit("diagram/setSelectedFairwayAvailability", null); } this.openLayersMap() .getLayer("STRETCHES") diff -r f64cc98746a1 -r 1ba2a7d22fbb client/src/components/fairway/AvailableFairwayDepth.vue --- a/client/src/components/fairway/AvailableFairwayDepth.vue Tue May 07 16:30:20 2019 +0200 +++ b/client/src/components/fairway/AvailableFairwayDepth.vue Tue May 07 16:59:11 2019 +0200 @@ -1,8 +1,8 @@