diff --git a/src/views/Notifications.vue b/src/views/Notifications.vue index 309d65b..c7db5b1 100644 --- a/src/views/Notifications.vue +++ b/src/views/Notifications.vue @@ -108,9 +108,7 @@ const sortedNotifications = computed(() => { }); if (currentTab.value === 'unread') { - return sortedNotifications.filter( - (notification) => !notification.isRead || notification.isread !== 'true' - ); + return sortedNotifications.filter((notification) => !notification.isRead); } return sortedNotifications; });