Mercurial > gemma
diff 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 |
line wrap: on
line diff
--- a/client/src/morphtool/Morphtool.vue Mon Nov 12 15:00:45 2018 +0100 +++ b/client/src/morphtool/Morphtool.vue Mon Nov 12 15:12:04 2018 +0100 @@ -122,8 +122,10 @@ this.$store.dispatch("bottlenecks/setSelectedBottleneck", null); this.$store.commit("application/showSplitscreen", false); this.$store.commit("map/cutMode", false); - this.getLayerByName("Cut Tool").data.getSource().clear(); - this.openLayersMap.removeInteraction(this.cutTool) + this.getLayerByName("Cut Tool") + .data.getSource() + .clear(); + this.openLayersMap.removeInteraction(this.cutTool); } } };