fix background image
This commit is contained in:
parent
3fbf21a757
commit
f62e0c5718
1 changed files with 2 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ export default {
|
||||||
return this.currentUser.background_image
|
return this.currentUser.background_image
|
||||||
},
|
},
|
||||||
instanceBackground() {
|
instanceBackground() {
|
||||||
return this.mergedConfig.hideInstanceWallpaper ? null : this.background
|
return useSyncConfigStore().mergedConfig.hideInstanceWallpaper ? null : this.instanceBackgroundUrl
|
||||||
},
|
},
|
||||||
background() {
|
background() {
|
||||||
return this.userBackground || this.instanceBackground
|
return this.userBackground || this.instanceBackground
|
||||||
|
|
@ -209,7 +209,7 @@ export default {
|
||||||
'editingAvailable',
|
'editingAvailable',
|
||||||
]),
|
]),
|
||||||
...mapState(useInstanceStore, {
|
...mapState(useInstanceStore, {
|
||||||
background: (store) => store.instanceIdentity.background,
|
instanceBackgroundUrl: (store) => store.instanceIdentity.background,
|
||||||
showFeaturesPanel: (store) => store.instanceIdentity.showFeaturesPanel,
|
showFeaturesPanel: (store) => store.instanceIdentity.showFeaturesPanel,
|
||||||
instanceSpecificPanelPresent: (store) =>
|
instanceSpecificPanelPresent: (store) =>
|
||||||
store.instanceIdentity.showInstanceSpecificPanel &&
|
store.instanceIdentity.showInstanceSpecificPanel &&
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue