comparison client/src/morphtool/Morphtool.vue @ 1144:5f98d0c9d738

linted code
author Markus Kottlaender <markus@intevation.de>
date Mon, 12 Nov 2018 15:12:04 +0100
parents 2e06bc53b002
children 74e180ad3d6b
comparison
equal deleted inserted replaced
1143:846e336d8ee5 1144:5f98d0c9d738
120 methods: { 120 methods: {
121 clearSelection() { 121 clearSelection() {
122 this.$store.dispatch("bottlenecks/setSelectedBottleneck", null); 122 this.$store.dispatch("bottlenecks/setSelectedBottleneck", null);
123 this.$store.commit("application/showSplitscreen", false); 123 this.$store.commit("application/showSplitscreen", false);
124 this.$store.commit("map/cutMode", false); 124 this.$store.commit("map/cutMode", false);
125 this.getLayerByName("Cut Tool").data.getSource().clear(); 125 this.getLayerByName("Cut Tool")
126 this.openLayersMap.removeInteraction(this.cutTool) 126 .data.getSource()
127 .clear();
128 this.openLayersMap.removeInteraction(this.cutTool);
127 } 129 }
128 } 130 }
129 }; 131 };
130 </script> 132 </script>