comparison 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
comparison
equal deleted inserted replaced
3203:cb67ee72485b 3204:1253fe15e3e3
340 selectedBottleneck: { 340 selectedBottleneck: {
341 get() { 341 get() {
342 return this.$store.state.bottlenecks.selectedBottleneck; 342 return this.$store.state.bottlenecks.selectedBottleneck;
343 }, 343 },
344 set(name) { 344 set(name) {
345 this.$store 345 this.$store.dispatch("bottlenecks/setSelectedBottleneck", name);
346 .dispatch("bottlenecks/setSelectedBottleneck", name)
347 .then(() => {
348 this.$store.commit("bottlenecks/setFirstSurveySelected");
349 });
350 } 346 }
351 }, 347 },
352 selectedWaterLevel: { 348 selectedWaterLevel: {
353 get() { 349 get() {
354 return this.$store.state.fairwayprofile.selectedWaterLevel.date || ""; 350 return this.$store.state.fairwayprofile.selectedWaterLevel.date || "";