Mercurial > gemma
diff client/src/components/fairway/Profiles.vue @ 3204:1253fe15e3e3
client: identify: implemented popup when clicking the map and the intention is not clear...
...because multiple features were identified. In that case no dialog will be opened automatically but a popup with
possible options is shown.
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Wed, 08 May 2019 17:10:17 +0200 |
parents | f7d7fdc58cad |
children | 5914d615f703 |
line wrap: on
line diff
--- a/client/src/components/fairway/Profiles.vue Wed May 08 16:19:31 2019 +0200 +++ b/client/src/components/fairway/Profiles.vue Wed May 08 17:10:17 2019 +0200 @@ -342,11 +342,7 @@ return this.$store.state.bottlenecks.selectedBottleneck; }, set(name) { - this.$store - .dispatch("bottlenecks/setSelectedBottleneck", name) - .then(() => { - this.$store.commit("bottlenecks/setFirstSurveySelected"); - }); + this.$store.dispatch("bottlenecks/setSelectedBottleneck", name); } }, selectedWaterLevel: {