fix: 'read' -> 'unread' heading, my issue wrong filter

This commit is contained in:
Dakshesh Jain 2023-07-18 16:47:04 +05:30
parent b080b3047c
commit e3d489ae52

View File

@ -189,7 +189,7 @@ export const NotificationPopover = () => {
{snoozed
? "Snoozed Notifications"
: readNotification
? "Read Notifications"
? "Unread Notifications"
: "Archived Notifications"}
</span>
</h4>
@ -247,9 +247,7 @@ export const NotificationPopover = () => {
<div className="w-full flex-1 overflow-y-auto">
{notifications ? (
notifications.filter(
(notification) => notification.data.issue_activity.field !== "None"
).length > 0 ? (
notifications.length > 0 ? (
notifications.map((notification) => (
<NotificationCard
key={notification.id}