diff client/src/components/map/contextbox/Staging.vue @ 1511:53fdbe1d9678

fix: staging select according soundingresult
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 05 Dec 2018 15:51:26 +0100
parents b76b23b3df61
children 6b3756676bbe
line wrap: on
line diff
--- a/client/src/components/map/contextbox/Staging.vue	Wed Dec 05 14:18:04 2018 +0100
+++ b/client/src/components/map/contextbox/Staging.vue	Wed Dec 05 15:51:26 2018 +0100
@@ -188,8 +188,11 @@
         zoom: 17,
         preventZoomOut: true
       });
-      this.$store.dispatch("bottlenecks/setSelectedBottleneck", bottleneck);
-      this.$store.commit("bottlenecks/selectedSurvey", date);
+      this.$store.dispatch(
+        "bottlenecks/setSelectedBottleneck",
+        bottleneck,
+        date
+      );
     },
     toggleApproval(id, newStatus) {
       this.$store.commit("imports/toggleApproval", {