appearance card fix

This commit is contained in:
Henry Jameson 2025-08-05 18:20:06 +03:00
commit 76e67a08c6
2 changed files with 3 additions and 3 deletions

View file

@ -191,6 +191,9 @@ const AppearanceTab = {
} }
}, },
computed: { computed: {
isDefaultBackground () {
return !(this.$store.state.users.currentUser.background_image)
},
switchInProgress () { switchInProgress () {
return useInterfaceStore().themeChangeInProgress return useInterfaceStore().themeChangeInProgress
}, },

View file

@ -314,9 +314,6 @@ export default {
return !(this.$store.state.users.currentUser.cover_photo) || return !(this.$store.state.users.currentUser.cover_photo) ||
this.$store.state.users.currentUser.cover_photo.includes(baseBanner) this.$store.state.users.currentUser.cover_photo.includes(baseBanner)
}, },
isDefaultBackground () {
return !(this.$store.state.users.currentUser.background_image)
},
fieldsLimits () { fieldsLimits () {
return this.$store.state.instance.fieldsLimits return this.$store.state.instance.fieldsLimits
}, },