diff --git a/src/pages/home/report/ReportActionsList.tsx b/src/pages/home/report/ReportActionsList.tsx index 5eb0306a3b7c..83b8fdbf1868 100644 --- a/src/pages/home/report/ReportActionsList.tsx +++ b/src/pages/home/report/ReportActionsList.tsx @@ -28,6 +28,7 @@ import { getFirstVisibleReportActionID, isConsecutiveActionMadeByPreviousActor, isConsecutiveChronosAutomaticTimerAction, + isCurrentActionUnread, isDeletedParentAction, isReportPreviewAction, isReversedTransaction, @@ -349,7 +350,7 @@ function ReportActionsList({ return; } - if (isUnread(report, transactionThreadReport)) { + if (isUnread(report, transactionThreadReport) || (lastAction && isCurrentActionUnread(report, lastAction))) { // On desktop, when the notification center is displayed, isVisible will return false. // Currently, there's no programmatic way to dismiss the notification center panel. // To handle this, we use the 'referrer' parameter to check if the current navigation is triggered from a notification.