Mercurial > gemma
annotate client/src/stores/application.js @ 206:cd6ad5eaef8d
Renamed cmd/tokenserver to cmd/gemma.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 22 Jul 2018 10:40:17 +0200 |
parents | 88d0d60924cf |
children | e7d5383bc358 |
rev | line source |
---|---|
3 | 1 const Application = { |
2 namespaced: true, | |
3 state: { | |
6 | 4 appTitle: process.env.VUE_APP_TITLE, |
10
361ae8211991
refactored to component local state
Thomas Junk <thomas.junk@intevation.de>
parents:
9
diff
changeset
|
5 secondaryLogo: process.env.VUE_APP_SECONDARY_LOGO_URL |
3 | 6 }, |
7 getters: { | |
8 appTitle: state => { | |
9 return state.appTitle; | |
6 | 10 }, |
9
ee6d3836014e
current version of login
Thomas Junk <thomas.junk@intevation.de>
parents:
6
diff
changeset
|
11 secondaryLogo: state => { |
ee6d3836014e
current version of login
Thomas Junk <thomas.junk@intevation.de>
parents:
6
diff
changeset
|
12 return state.secondaryLogo; |
3 | 13 } |
14 }, | |
10
361ae8211991
refactored to component local state
Thomas Junk <thomas.junk@intevation.de>
parents:
9
diff
changeset
|
15 mutations: {}, |
3 | 16 actions: {} |
17 }; | |
18 | |
19 export default Application; |