diff client/src/components/layers/Layers.vue @ 4368:e9d2573329da

import_overview: make layer for review togglable (currently only for development visible)
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 10 Sep 2019 16:37:50 +0200
parents 315474a66589
children ad2bf9580696
line wrap: on
line diff
--- a/client/src/components/layers/Layers.vue	Mon Sep 09 21:59:51 2019 +0200
+++ b/client/src/components/layers/Layers.vue	Tue Sep 10 16:37:50 2019 +0200
@@ -37,6 +37,7 @@
         <Layerselect layerId="DISTANCEMARKS" />
         <Layerselect layerId="DISTANCEMARKSAXIS" />
         <Layerselect layerId="GAUGES" />
+        <Layerselect v-if="reviewActive" layerId="FDREVIEWLAYER" />
       </div>
       <UISpinnerOverlay v-else style="top: 34px;" />
     </div>
@@ -66,7 +67,7 @@
   },
   computed: {
     ...mapState("application", ["showLayers"]),
-    ...mapState("map", ["openLayersMaps"]),
+    ...mapState("map", ["openLayersMaps", "reviewActive"]),
     label() {
       return this.$gettext("Map Layers");
     },