From c436c7d7bf64c8cc368e7d690ba862435c9f98ec Mon Sep 17 00:00:00 2001 From: Aj Wazzan Date: Mon, 5 May 2025 23:22:58 -0700 Subject: [PATCH] fix: enhance unread message indicator logic and improve subject text truncation in mail list --- apps/mail/components/mail/mail-list.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/mail/components/mail/mail-list.tsx b/apps/mail/components/mail/mail-list.tsx index 619af57a6..2cb600312 100644 --- a/apps/mail/components/mail/mail-list.tsx +++ b/apps/mail/components/mail/mail-list.tsx @@ -564,7 +564,7 @@ const Thread = memo( )}
- {getThreadData.hasUnread && !isMailSelected ? ( + {getThreadData.hasUnread && !isMailSelected && !isFolderSent && !isFolderBin ? ( ) : null}
@@ -581,7 +581,9 @@ const Thread = memo( )} > {isFolderSent ? ( - {highlightText(latestMessage.subject, searchValue.highlight)} + + {highlightText(latestMessage.subject, searchValue.highlight)} + ) : ( {highlightText(