From 775a469507f2b2a4c7ca11b494720628838d0286 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 29 Jan 2026 21:24:02 +0200 Subject: [PATCH] fix background --- src/App.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/App.js b/src/App.js index 220f563f8..512853200 100644 --- a/src/App.js +++ b/src/App.js @@ -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,