Mercurial > gemma
changeset 1156:9bef99a4a15f
linting
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Tue, 13 Nov 2018 13:32:06 +0100 |
parents | a297793e5868 |
children | 403b99a43f54 |
files | client/src/drawtool/Drawtool.vue client/src/imports/Importqueue.vue client/src/map/Maplayer.vue |
diffstat | 3 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/drawtool/Drawtool.vue Tue Nov 13 13:30:03 2018 +0100 +++ b/client/src/drawtool/Drawtool.vue Tue Nov 13 13:32:06 2018 +0100 @@ -73,7 +73,6 @@ "map/drawMode", this.drawMode !== "LineString" ? "LineString" : null ); - console.log(this.drawMode); this.$store.commit("map/cutMode", null); if (this.drawMode) this.enableDrawTool(); }, @@ -241,7 +240,7 @@ } }, mounted() { - window.addEventListener('keydown', (e) => { + window.addEventListener("keydown", e => { // Escape if (e.keyCode === 27) { this.$store.commit("map/drawMode", null);
--- a/client/src/imports/Importqueue.vue Tue Nov 13 13:30:03 2018 +0100 +++ b/client/src/imports/Importqueue.vue Tue Nov 13 13:32:06 2018 +0100 @@ -43,4 +43,3 @@ margin-right: auto; } </style> -
--- a/client/src/map/Maplayer.vue Tue Nov 13 13:30:03 2018 +0100 +++ b/client/src/map/Maplayer.vue Tue Nov 13 13:32:06 2018 +0100 @@ -58,7 +58,7 @@ }, computed: { ...mapGetters("map", ["getLayerByName"]), - ...mapState("map", ["layers", "openLayersMap", "drawMode"]), + ...mapState("map", ["layers", "openLayersMap"]), ...mapState("bottlenecks", ["selectedSurvey"]), mapStyle() { return {