some minor fixes and warnings cleanpu

This commit is contained in:
Henry Jameson 2024-12-23 04:15:24 +02:00
commit 34449a7c61
4 changed files with 18 additions and 3 deletions

View file

@ -259,12 +259,10 @@ const AppearanceTab = {
return ['sidebar', 'content', ...notif]
}
},
instanceSpecificPanelPresent () { return this.$store.state.instance.showInstanceSpecificPanel },
instanceWallpaperUsed () {
return this.$store.state.instance.background &&
!this.$store.state.users.currentUser.background_image
},
instanceShoutboxPresent () { return this.$store.state.instance.shoutAvailable },
language: {
get: function () { return this.$store.getters.mergedConfig.interfaceLanguage },
set: function (val) {