Mercurial > gemma
view client/src/stores/application.js @ 165:4bf2173748f3
refactor: extracted the string to milisecondconversion
Extracted the conversion of session data to string conversion
to Method. SRP.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Fri, 06 Jul 2018 11:04:52 +0200 |
parents | 88d0d60924cf |
children | e7d5383bc358 |
line wrap: on
line source
const Application = { namespaced: true, state: { appTitle: process.env.VUE_APP_TITLE, secondaryLogo: process.env.VUE_APP_SECONDARY_LOGO_URL }, getters: { appTitle: state => { return state.appTitle; }, secondaryLogo: state => { return state.secondaryLogo; } }, mutations: {}, actions: {} }; export default Application;