lint
This commit is contained in:
parent
c1c285a1b9
commit
3f2ce5e7ab
5 changed files with 13 additions and 6 deletions
11
src/App.js
11
src/App.js
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue