Add /cyb/ background by sonyam.
This commit is contained in:
parent
d7c9261dab
commit
a3b2be09b3
5 changed files with 8 additions and 3 deletions
|
@ -16,7 +16,10 @@ 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
|
||||
},
|
||||
style () { return { 'background-image': `url(${this.background})` } },
|
||||
sitename () { return this.$store.state.config.name }
|
||||
},
|
||||
methods: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue