From e3d489ae5268b73918bcdd7b7f950b4ee3d7512c Mon Sep 17 00:00:00 2001 From: Dakshesh Jain Date: Tue, 18 Jul 2023 16:47:04 +0530 Subject: [PATCH] fix: 'read' -> 'unread' heading, my issue wrong filter --- apps/app/components/notifications/notification-popover.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/app/components/notifications/notification-popover.tsx b/apps/app/components/notifications/notification-popover.tsx index 486a091e4..51b760bbb 100644 --- a/apps/app/components/notifications/notification-popover.tsx +++ b/apps/app/components/notifications/notification-popover.tsx @@ -189,7 +189,7 @@ export const NotificationPopover = () => { {snoozed ? "Snoozed Notifications" : readNotification - ? "Read Notifications" + ? "Unread Notifications" : "Archived Notifications"} @@ -247,9 +247,7 @@ export const NotificationPopover = () => {
{notifications ? ( - notifications.filter( - (notification) => notification.data.issue_activity.field !== "None" - ).length > 0 ? ( + notifications.length > 0 ? ( notifications.map((notification) => (