This commit is contained in:
isUnknown 2025-06-02 10:13:45 +02:00
parent ea5be654b5
commit 16d919dec5

View file

@ -108,9 +108,7 @@ const sortedNotifications = computed(() => {
}); });
if (currentTab.value === 'unread') { if (currentTab.value === 'unread') {
return sortedNotifications.filter( return sortedNotifications.filter((notification) => !notification.isRead);
(notification) => !notification.isRead || notification.isread !== 'true'
);
} }
return sortedNotifications; return sortedNotifications;
}); });