aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.js
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-08-13 23:57:34 -0400
committertusooa <tusooa@kazv.moe>2023-08-18 22:25:11 -0400
commit0d6a9e8a647be860b10506aecaafb4ff0f10150f (patch)
treea0cb51b11e4f8a878df59cbde7b151c4c32ac24b /src/components/notifications/notifications.js
parenta1641193b5b7c72e919b9848b167bc4d4a40444b (diff)
Display extra notifications on notifications column
Diffstat (limited to 'src/components/notifications/notifications.js')
-rw-r--r--src/components/notifications/notifications.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js
index d499d3d6..0ed1571d 100644
--- a/src/components/notifications/notifications.js
+++ b/src/components/notifications/notifications.js
@@ -1,6 +1,7 @@
import { computed } from 'vue'
import { mapGetters } from 'vuex'
import Notification from '../notification/notification.vue'
+import ExtraNotifications from '../extra_notifications/extra_notifications.vue'
import NotificationFilters from './notification_filters.vue'
import notificationsFetcher from '../../services/notifications_fetcher/notifications_fetcher.service.js'
import {
@@ -23,7 +24,8 @@ const DEFAULT_SEEN_TO_DISPLAY_COUNT = 30
const Notifications = {
components: {
Notification,
- NotificationFilters
+ NotificationFilters,
+ ExtraNotifications
},
props: {
// Disables panel styles, unread mark, potentially other notification-related actions
@@ -94,6 +96,9 @@ const Notifications = {
return this.filteredNotifications.slice(0, this.unseenCount + this.seenToDisplayCount)
},
noSticky () { return this.$store.getters.mergedConfig.disableStickyHeaders },
+ showExtraNotifications () {
+ return true
+ },
...mapGetters(['unreadChatCount', 'unreadAnnouncementCount'])
},
mounted () {