diff client/src/store/application.js @ 1372:553aadd97087

new cross profile workflow (WIP) Needs fixing of some bugs and not so nice looks.
author Markus Kottlaender <markus@intevation.de>
date Tue, 27 Nov 2018 12:59:26 +0100
parents 99c039e86624
children 05a2732cafac
line wrap: on
line diff
--- a/client/src/store/application.js	Tue Nov 27 12:49:53 2018 +0100
+++ b/client/src/store/application.js	Tue Nov 27 12:59:26 2018 +0100
@@ -30,6 +30,7 @@
     showLayers: true,
     showPdfTool: false,
     showContextBox: false,
+    showProfiles: false,
     contextBoxContent: null, // bottlenecks, imports, staging
     expandToolbar: false,
     countries: ["AT", "SK", "HU", "HR", "RS", "BiH", "BG", "RO", "UA"],
@@ -84,6 +85,9 @@
     showContextBox: (state, show) => {
       state.showContextBox = show;
     },
+    showProfiles: (state, show) => {
+      state.showProfiles = show;
+    },
     contextBoxContent: (state, context) => {
       state.contextBoxContent = context;
       if (context) {