diff client/src/components/layers/Layers.vue @ 2851:a7e31594959d

profiles: difference selection now with spinner
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 28 Mar 2019 17:04:44 +0100
parents d0f6c222f4f9
children 35f6e4383161
line wrap: on
line diff
--- a/client/src/components/layers/Layers.vue	Thu Mar 28 16:57:41 2019 +0100
+++ b/client/src/components/layers/Layers.vue	Thu Mar 28 17:04:44 2019 +0100
@@ -57,8 +57,8 @@
     close() {
       this.$store.commit("application/showLayers", false);
     },
-    visibilityToggled(layer) {
-      this.$store.commit("map/toggleVisibility", layer);
+    visibilityToggled(layername) {
+      this.$store.commit("map/toggleVisibilityByName", layername);
     }
   }
 };