diff options
Diffstat (limited to 'src/App.js')
| -rw-r--r-- | src/App.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -14,7 +14,11 @@ 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: { |
