comparison client/src/components/map/toolbar/Toolbar.vue @ 1434:5b8ab039a983

fixed wrong getter mapping
author Markus Kottlaender <markus@intevation.de>
date Fri, 30 Nov 2018 07:10:13 +0100
parents 4afbc615cfc2
children 7fa030127b05
comparison
equal deleted inserted replaced
1433:1a9c4fae5d9b 1434:5b8ab039a983
93 Polygontool: () => import("./Polygontool.vue"), 93 Polygontool: () => import("./Polygontool.vue"),
94 Profiles: () => import("./Profiles.vue"), 94 Profiles: () => import("./Profiles.vue"),
95 Pdftool: () => import("./Pdftool.vue") 95 Pdftool: () => import("./Pdftool.vue")
96 }, 96 },
97 computed: { 97 computed: {
98 ...mapGetters("map", ["getLayerByName"]), 98 ...mapGetters("map", ["getVSourceByName"]),
99 ...mapState("map", ["lineTool", "polygonTool", "cutTool"]), 99 ...mapState("map", ["lineTool", "polygonTool", "cutTool"]),
100 ...mapState("application", ["expandToolbar"]) 100 ...mapState("application", ["expandToolbar"])
101 }, 101 },
102 mounted() { 102 mounted() {
103 window.addEventListener("keydown", e => { 103 window.addEventListener("keydown", e => {