diff client/src/morphtool/Morphtool.vue @ 1064:907321455f39 crossprofile

merge with default
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 26 Oct 2018 08:45:46 +0200
parents 5a43d5602d14 7ec2133c6404
children f106aee673e7
line wrap: on
line diff
--- a/client/src/morphtool/Morphtool.vue	Thu Oct 25 17:19:50 2018 +0200
+++ b/client/src/morphtool/Morphtool.vue	Fri Oct 26 08:45:46 2018 +0200
@@ -106,7 +106,7 @@
  * Author(s):
  * Thomas Junk <thomas.junk@intevation.de>
  */
-import { mapGetters, mapState } from "vuex";
+import { mapState } from "vuex";
 
 import { displayError } from "../application/lib/errors.js";
 import { HTTP } from "../application/lib/http";
@@ -120,7 +120,7 @@
     };
   },
   computed: {
-    ...mapGetters("application", ["drawMode"]),
+    ...mapState("application", ["drawMode"]),
     ...mapState("identifystore", ["identifiedFeatures"]),
     ...mapState("fairwayprofile", ["selectedMorph"]),
     selectedBottleneck: function() {