Mercurial > gemma
diff client/src/application/Main.vue @ 1062:d3bdad8ed8d3
client: simply code structure and add author
* Move drawMode from being a parameter to maplayer to being aquired
from the application store within Maplayer.vue. This way Main.vue
does not need to know about drawMode, which is a minor simplification.
* Add Bernhard to the authors of Maplayer.vue.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Thu, 25 Oct 2018 21:10:23 +0200 |
parents | 505ec57929aa |
children | 907321455f39 |
line wrap: on
line diff
--- a/client/src/application/Main.vue Thu Oct 25 21:04:32 2018 +0200 +++ b/client/src/application/Main.vue Thu Oct 25 21:10:23 2018 +0200 @@ -1,7 +1,6 @@ <template> <div class="main d-flex flex-column"> <Maplayer - :drawMode="drawMode" :split="isSplitscreen" :lat="6155376" :long="1819178" @@ -74,7 +73,7 @@ }; }, computed: { - ...mapGetters("application", ["isSplitscreen", "drawMode"]), + ...mapGetters("application", ["isSplitscreen"]), ...mapState("fairwayprofile", [ "currentProfile", "minAlt",