fix incorrect title + add counter

This commit is contained in:
Henry Jameson 2023-12-13 20:37:40 +02:00
commit 4e8bb80dbd
3 changed files with 15 additions and 2 deletions

View file

@ -57,6 +57,12 @@ const MobileNav = {
unseenNotificationsCount () {
return this.unseenNotifications.length + countExtraNotifications(this.$store)
},
unseenCount () {
return this.unseenNotifications.length
},
unseenCountBadgeText () {
return `${this.unseenCount ? this.unseenCount : ''}${this.extraNotificationsCount ? '*' : ''}`
},
hideSitename () { return this.$store.state.instance.hideSitename },
sitename () { return this.$store.state.instance.name },
isChat () {