This commit is contained in:
parent
ea5be654b5
commit
16d919dec5
1 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue