comparison 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
comparison
equal deleted inserted replaced
1059:51d412a79e4f 1064:907321455f39
104 * Software engineering by Intevation GmbH 104 * Software engineering by Intevation GmbH
105 * 105 *
106 * Author(s): 106 * Author(s):
107 * Thomas Junk <thomas.junk@intevation.de> 107 * Thomas Junk <thomas.junk@intevation.de>
108 */ 108 */
109 import { mapGetters, mapState } from "vuex"; 109 import { mapState } from "vuex";
110 110
111 import { displayError } from "../application/lib/errors.js"; 111 import { displayError } from "../application/lib/errors.js";
112 import { HTTP } from "../application/lib/http"; 112 import { HTTP } from "../application/lib/http";
113 113
114 export default { 114 export default {
118 surveyList: null, 118 surveyList: null,
119 bottleneckName: "" 119 bottleneckName: ""
120 }; 120 };
121 }, 121 },
122 computed: { 122 computed: {
123 ...mapGetters("application", ["drawMode"]), 123 ...mapState("application", ["drawMode"]),
124 ...mapState("identifystore", ["identifiedFeatures"]), 124 ...mapState("identifystore", ["identifiedFeatures"]),
125 ...mapState("fairwayprofile", ["selectedMorph"]), 125 ...mapState("fairwayprofile", ["selectedMorph"]),
126 selectedBottleneck: function() { 126 selectedBottleneck: function() {
127 if (this.identifiedFeatures && !this.drawMode) { 127 if (this.identifiedFeatures && !this.drawMode) {
128 for (let feature of this.identifiedFeatures) { 128 for (let feature of this.identifiedFeatures) {