aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2021-03-17 08:17:23 +0000
committerShpuld Shpludson <shp@cock.li>2021-03-17 08:17:23 +0000
commitd57ee274de37a695c080279544defd2243ab9f51 (patch)
treef091d72a2aa2f724ec2cad0add5fca4c94832760 /src/components/notifications/notifications.js
parentd262f208dca88c22a5428c4359156856757de016 (diff)
parent8163c7b55bbc66a2455777025c29e7f9015497e0 (diff)
Merge branch 'feat/notification-quick-filters' into 'develop'
Add quick filters for notifications See merge request pleroma/pleroma-fe!1364
Diffstat (limited to 'src/components/notifications/notifications.js')
-rw-r--r--src/components/notifications/notifications.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js
index d6bd6375..c8f1ebcb 100644
--- a/src/components/notifications/notifications.js
+++ b/src/components/notifications/notifications.js
@@ -1,5 +1,6 @@
import { mapGetters } from 'vuex'
import Notification from '../notification/notification.vue'
+import NotificationFilters from './notification_filters.vue'
import notificationsFetcher from '../../services/notifications_fetcher/notifications_fetcher.service.js'
import {
notificationsFromStore,
@@ -17,6 +18,10 @@ library.add(
const DEFAULT_SEEN_TO_DISPLAY_COUNT = 30
const Notifications = {
+ components: {
+ Notification,
+ NotificationFilters
+ },
props: {
// Disables display of panel header
noHeading: Boolean,
@@ -65,9 +70,6 @@ const Notifications = {
},
...mapGetters(['unreadChatCount'])
},
- components: {
- Notification
- },
watch: {
unseenCountTitle (count) {
if (count > 0) {