From eb2a37571dcc83f77f50f975c539b002bed8d9c8 Mon Sep 17 00:00:00 2001 From: Brandon Stites <42391420+stitesExpensify@users.noreply.github.com> Date: Thu, 6 Jul 2023 18:23:40 -0600 Subject: [PATCH] Merge pull request #22349 from Expensify/andrewli-fixthreadslhn Hide only chat threads that haven't been commented on (cherry picked from commit 35e8d4643eb5f1ecd4db78bac6e145585e3d333a) --- src/libs/ReportUtils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/ReportUtils.js b/src/libs/ReportUtils.js index 66d9e2d08ae7..40a598891dcd 100644 --- a/src/libs/ReportUtils.js +++ b/src/libs/ReportUtils.js @@ -2021,8 +2021,8 @@ function shouldReportBeInOptionList(report, currentReportId, isInGSDMode, iouRep return false; } - // Hide thread reports that haven't been commented on - if (isThread(report) && !report.lastMessageText) { + // Hide only chat threads that haven't been commented on (other threads are actionable) + if (isChatThread(report) && !report.lastMessageText) { return false; }