comparison client/src/components/map/MapPopup.vue @ 3231:2dab20bed284

show_statistics: refac to fairwayavailability
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 10 May 2019 10:28:37 +0200
parents ba7bc3740fb3
children e37b8afd7bd9
comparison
equal deleted inserted replaced
3230:128d686c3950 3231:2dab20bed284
197 this.$store.commit("application/showGauges", true); 197 this.$store.commit("application/showGauges", true);
198 this.$store.dispatch("gauges/selectedGaugeISRS", gauge.get("isrs_code")); 198 this.$store.dispatch("gauges/selectedGaugeISRS", gauge.get("isrs_code"));
199 this.close(); 199 this.close();
200 }, 200 },
201 openFairwayAvailability() { 201 openFairwayAvailability() {
202 this.$store.commit("application/showStatistics", true); 202 this.$store.commit("application/showFairwayDepth", true);
203 this.close(); 203 this.close();
204 }, 204 },
205 openFairwayAvailabilityForBottleneck(bottleneck) { 205 openFairwayAvailabilityForBottleneck(bottleneck) {
206 this.$store.commit("fairwayavailability/type", "bottlenecks"); 206 this.$store.commit("fairwayavailability/type", "bottlenecks");
207 this.$store.dispatch( 207 this.$store.dispatch(