Mercurial > gemma
annotate client/src/stores/application.js @ 261:ab9859981ee3
If a user got renamed kick her/him from the connection pool.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 27 Jul 2018 14:55:47 +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; |