aboutsummaryrefslogtreecommitdiff
path: root/src/components/extra_notifications/extra_notifications.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/extra_notifications/extra_notifications.js')
-rw-r--r--src/components/extra_notifications/extra_notifications.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/components/extra_notifications/extra_notifications.js b/src/components/extra_notifications/extra_notifications.js
index 0bf904ba..1f3c6e6d 100644
--- a/src/components/extra_notifications/extra_notifications.js
+++ b/src/components/extra_notifications/extra_notifications.js
@@ -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'])
}
}