diff --git a/resources/assets/js/components/NotificationCard.vue b/resources/assets/js/components/NotificationCard.vue index 1128178b..f2ed5266 100644 --- a/resources/assets/js/components/NotificationCard.vue +++ b/resources/assets/js/components/NotificationCard.vue @@ -40,7 +40,7 @@

- {{truncate(n.account.username)}} shared your post. + {{truncate(n.account.username)}} shared your post.

@@ -90,12 +90,7 @@ fetchNotifications() { axios.get('/api/pixelfed/v1/notifications') .then(res => { - let data = res.data.filter(n => { - if(n.type == 'share' && !status) { - return false; - } - return true; - }); + let data = res.data; let ids = res.data.map(n => n.id); this.notificationMaxId = Math.min(...ids); this.notifications = data;