Display follow requests in extra notifications
This commit is contained in:
parent
0d6a9e8a64
commit
c4549f0993
3 changed files with 21 additions and 4 deletions
|
|
@ -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'])
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue