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
  • Loading branch information
stitesExpensify authored Jul 7, 2023
2 parents 22467c1 + 3f29349 commit 35e8d46
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 @@ -2010,8 +2010,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 35e8d46

Please sign in to comment.