fix background
This commit is contained in:
parent
4ea48dafb9
commit
775a469507
1 changed files with 2 additions and 5 deletions
|
|
@ -133,11 +133,8 @@ export default {
|
|||
userBackground() {
|
||||
return this.currentUser.background_image
|
||||
},
|
||||
instanceBackground() {
|
||||
return this.mergedConfig.hideInstanceWallpaper ? null : this.background
|
||||
},
|
||||
background() {
|
||||
return this.userBackground || this.instanceBackground
|
||||
return this.userBackground || (this.mergedConfig.hideInstanceWallpaper ? null : this.instanceBackground)
|
||||
},
|
||||
bgStyle() {
|
||||
if (this.background) {
|
||||
|
|
@ -204,7 +201,7 @@ export default {
|
|||
]),
|
||||
...mapState(useInstanceStore, ['styleDataUsed', 'private']),
|
||||
...mapState(useInstanceStore, {
|
||||
background: (store) => store.instanceIdentity.background,
|
||||
instanceBackground: (store) => store.instanceIdentity.background,
|
||||
showFeaturesPanel: (store) => store.instanceIdentity.showFeaturesPanel,
|
||||
showInstanceSpecificPanel: (store) =>
|
||||
store.instanceIdentity.showInstanceSpecificPanel,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue