This commit is contained in:
parent
8a9fb35034
commit
ea5be654b5
2 changed files with 1 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
|
@ -109,7 +109,7 @@ const sortedNotifications = computed(() => {
|
|||
|
||||
if (currentTab.value === 'unread') {
|
||||
return sortedNotifications.filter(
|
||||
(notification) => notification.isread !== 'true'
|
||||
(notification) => !notification.isRead || notification.isread !== 'true'
|
||||
);
|
||||
}
|
||||
return sortedNotifications;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue