diff options
| author | Roger Braun <roger@rogerbraun.net> | 2017-02-16 17:49:11 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2017-02-16 17:49:11 +0100 |
| commit | f25ae61c5daf7e925fb38d1636a61b70a4dd2d1c (patch) | |
| tree | 883faa9a3bf7999c1e290d140951e35c13ae45a2 /src/App.js | |
| parent | 319af91a4762c7edab567048f1f44b5a26005d5b (diff) | |
| parent | ce5b3d4c924d6e94b6fbde3c50fdb209e4ec1fab (diff) | |
Merge branch 'develop' into feature/hash-routed
Diffstat (limited to 'src/App.js')
| -rw-r--r-- | src/App.js | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -16,7 +16,12 @@ export default { }), computed: { currentUser () { return this.$store.state.users.currentUser }, - style () { return { 'background-image': `url(${this.currentUser.background_image})` } } + background () { + return this.currentUser.background_image || this.$store.state.config.background + }, + logoStyle () { return { 'background-image': `url(${this.$store.state.config.logo})` } }, + style () { return { 'background-image': `url(${this.background})` } }, + sitename () { return this.$store.state.config.name } }, methods: { activatePanel (panelName) { |
