comparison client/src/store/application.js @ 1264:76bc179c181f

made toolbar expandable
author Markus Kottlaender <markus@intevation.de>
date Wed, 21 Nov 2018 13:44:30 +0100
parents 957907eaaa72
children a7dd8a3356fc
comparison
equal deleted inserted replaced
1263:00a38b354ab7 1264:76bc179c181f
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 showInContextBox: null, // bottlenecks, imports, staging 32 showInContextBox: null, // bottlenecks, imports, staging
33 expandToolbar: false,
33 countries: ["AT", "SK", "HU", "HR", "RS", "BiH", "BG", "RO", "UA"], 34 countries: ["AT", "SK", "HU", "HR", "RS", "BiH", "BG", "RO", "UA"],
34 searchQuery: "", 35 searchQuery: "",
35 version 36 version
36 }, 37 },
37 getters: { 38 getters: {
77 state.showInContextBox = context; 78 state.showInContextBox = context;
78 if (context) { 79 if (context) {
79 state.showSearchbarLastState = state.showSearchbar; 80 state.showSearchbarLastState = state.showSearchbar;
80 } 81 }
81 }, 82 },
83 expandToolbar: (state, expandToolbar) => {
84 state.expandToolbar = expandToolbar;
85 },
82 searchQuery: (state, searchQuery) => { 86 searchQuery: (state, searchQuery) => {
83 state.searchQuery = searchQuery; 87 state.searchQuery = searchQuery;
84 } 88 }
85 } 89 }
86 }; 90 };