Mercurial > gemma
comparison 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 |
comparison
equal
deleted
inserted
replaced
1371:5b9b8eabcd01 | 1372:553aadd97087 |
---|---|
28 showSearchbarLastState: false, | 28 showSearchbarLastState: false, |
29 showIdentify: false, | 29 showIdentify: false, |
30 showLayers: true, | 30 showLayers: true, |
31 showPdfTool: false, | 31 showPdfTool: false, |
32 showContextBox: false, | 32 showContextBox: false, |
33 showProfiles: false, | |
33 contextBoxContent: null, // bottlenecks, imports, staging | 34 contextBoxContent: null, // bottlenecks, imports, staging |
34 expandToolbar: false, | 35 expandToolbar: false, |
35 countries: ["AT", "SK", "HU", "HR", "RS", "BiH", "BG", "RO", "UA"], | 36 countries: ["AT", "SK", "HU", "HR", "RS", "BiH", "BG", "RO", "UA"], |
36 searchQuery: "", | 37 searchQuery: "", |
37 version | 38 version |
82 state.showPdfTool = show; | 83 state.showPdfTool = show; |
83 }, | 84 }, |
84 showContextBox: (state, show) => { | 85 showContextBox: (state, show) => { |
85 state.showContextBox = show; | 86 state.showContextBox = show; |
86 }, | 87 }, |
88 showProfiles: (state, show) => { | |
89 state.showProfiles = show; | |
90 }, | |
87 contextBoxContent: (state, context) => { | 91 contextBoxContent: (state, context) => { |
88 state.contextBoxContent = context; | 92 state.contextBoxContent = context; |
89 if (context) { | 93 if (context) { |
90 state.showSearchbarLastState = state.showSearchbar; | 94 state.showSearchbarLastState = state.showSearchbar; |
91 } | 95 } |