Mercurial > gemma
diff client/src/components/map/MapPopup.vue @ 3207:ba7bc3740fb3
client: renamed store modules to better reflect their context
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Wed, 08 May 2019 17:43:18 +0200 |
parents | dffcf1cc8a8b |
children | 2dab20bed284 |
line wrap: on
line diff
--- a/client/src/components/map/MapPopup.vue Wed May 08 17:29:50 2019 +0200 +++ b/client/src/components/map/MapPopup.vue Wed May 08 17:43:18 2019 +0200 @@ -203,7 +203,7 @@ this.close(); }, openFairwayAvailabilityForBottleneck(bottleneck) { - this.$store.commit("diagram/type", "bottlenecks"); + this.$store.commit("fairwayavailability/type", "bottlenecks"); this.$store.dispatch( "bottlenecks/setSelectedBottleneck", bottleneck.get("objnam") @@ -222,7 +222,7 @@ this.openFairwayAvailability(); }, openFairwayAvailabilityForStretch(stretch) { - this.$store.commit("diagram/type", "stretches"); + this.$store.commit("fairwayavailability/type", "stretches"); this.$store.commit("imports/selectedStretchId", stretch.getId()); this.$store.dispatch("map/moveToFeauture", { feature: stretch,