Skip to content

Commit

Permalink
Merge pull request #22349 from Expensify/andrewli-fixthreadslhn
Browse files Browse the repository at this point in the history
Hide only chat threads that haven't been commented on

(cherry picked from commit 35e8d46)
  • Loading branch information
stitesExpensify authored and OSBotify committed Jul 7, 2023
1 parent 7810231 commit eb2a375
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/ReportUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit eb2a375

Please sign in to comment.