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') {
|
if (currentTab.value === 'unread') {
|
||||||
return sortedNotifications.filter(
|
return sortedNotifications.filter((notification) => !notification.isRead);
|
||||||
(notification) => !notification.isRead || notification.isread !== 'true'
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
return sortedNotifications;
|
return sortedNotifications;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue