2023-08-14 03:57:34 +00:00
|
|
|
import { mapGetters } from 'vuex'
|
|
|
|
|
|
|
|
const ExtraNotifications = {
|
|
|
|
computed: {
|
2023-08-19 00:02:58 +00:00
|
|
|
shouldShowChats () {
|
|
|
|
return this.unreadChatCount
|
|
|
|
},
|
|
|
|
shouldShowAnnouncements () {
|
|
|
|
return this.unreadAnnouncementCount
|
|
|
|
},
|
|
|
|
shouldShowFollowRequests () {
|
|
|
|
return this.followRequestCount
|
|
|
|
},
|
|
|
|
...mapGetters(['unreadChatCount', 'unreadAnnouncementCount', 'followRequestCount'])
|
2023-08-14 03:57:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default ExtraNotifications
|