Mercurial > gemma
comparison client/src/store/application.js @ 1114:8d12056d602a store-refactoring
shortened store file imports
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Mon, 05 Nov 2018 13:41:53 +0100 |
parents | aa1f5daf6fc9 |
children | 1b160eda22cf |
comparison
equal
deleted
inserted
replaced
1113:595654ad3f66 | 1114:8d12056d602a |
---|---|
23 active: false, | 23 active: false, |
24 mode: "v" | 24 mode: "v" |
25 }; | 25 }; |
26 }; | 26 }; |
27 | 27 |
28 const Application = { | 28 export default { |
29 namespaced: true, | 29 namespaced: true, |
30 state: { | 30 state: { |
31 appTitle: process.env.VUE_APP_TITLE, | 31 appTitle: process.env.VUE_APP_TITLE, |
32 secondaryLogo: process.env.VUE_APP_SECONDARY_LOGO_URL, | 32 secondaryLogo: process.env.VUE_APP_SECONDARY_LOGO_URL, |
33 sidebar: { | 33 sidebar: { |
126 state.drawMode = "Polygon"; | 126 state.drawMode = "Polygon"; |
127 } | 127 } |
128 }, | 128 }, |
129 actions: {} | 129 actions: {} |
130 }; | 130 }; |
131 | |
132 export default Application; |