Mercurial > gemma
diff client/src/map/Maplayer.vue @ 1115:1b160eda22cf store-refactoring
moved drawMode to map store
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Mon, 05 Nov 2018 14:05:01 +0100 |
parents | 595654ad3f66 |
children | 035dc35e1dfc |
line wrap: on
line diff
--- a/client/src/map/Maplayer.vue Mon Nov 05 13:41:53 2018 +0100 +++ b/client/src/map/Maplayer.vue Mon Nov 05 14:05:01 2018 +0100 @@ -72,8 +72,7 @@ }, computed: { ...mapGetters("map", ["layers", "getLayerByName"]), - ...mapState("application", ["drawMode"]), - ...mapState("map", ["openLayersMap"]), + ...mapState("map", ["openLayersMap", "drawMode"]), ...mapState("bottlenecks", ["selectedSurvey"]), mapStyle() { return {