This commit is contained in:
Henry Jameson 2026-06-05 14:53:33 +03:00
commit 3f2ce5e7ab
5 changed files with 13 additions and 6 deletions

View file

@ -150,7 +150,10 @@ export default {
return this.currentUser.background_image
},
foreignProfileBackground() {
return useMergedConfigStore().mergedConfig.allowForeignUserBackground && useInterfaceStore().foreignProfileBackground
return (
useMergedConfigStore().mergedConfig.allowForeignUserBackground &&
useInterfaceStore().foreignProfileBackground
)
},
instanceBackground() {
return useMergedConfigStore().mergedConfig.hideInstanceWallpaper
@ -158,7 +161,11 @@ export default {
: this.instanceBackgroundUrl
},
background() {
return this.foreignProfileBackground || this.userBackground || this.instanceBackground
return (
this.foreignProfileBackground ||
this.userBackground ||
this.instanceBackground
)
},
bgStyle() {
if (this.background) {