Display follow requests in extra notifications

This commit is contained in:
tusooa 2023-08-18 20:02:58 -04:00
commit c4549f0993
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
3 changed files with 21 additions and 4 deletions

View file

@ -2,7 +2,16 @@ import { mapGetters } from 'vuex'
const ExtraNotifications = {
computed: {
...mapGetters(['unreadChatCount', 'unreadAnnouncementCount'])
shouldShowChats () {
return this.unreadChatCount
},
shouldShowAnnouncements () {
return this.unreadAnnouncementCount
},
shouldShowFollowRequests () {
return this.followRequestCount
},
...mapGetters(['unreadChatCount', 'unreadAnnouncementCount', 'followRequestCount'])
}
}