Skip to content

Commit

Permalink
Merge pull request #30154 from dukenv0307/fix/29851
Browse files Browse the repository at this point in the history
Hide the thread that have not been commented
  • Loading branch information
robertjchen authored Oct 24, 2023
2 parents 5d05bc5 + 950f37a commit 17ea722
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libs/ReportUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3295,6 +3295,11 @@ function shouldReportBeInOptionList(report, currentReportId, isInGSDMode, betas,
return true;
}

// Hide only chat threads that haven't been commented on (other threads are actionable)
if (isChatThread(report) && canHideReport && isEmptyChat) {
return false;
}

// Include reports that have errors from trying to add a workspace
// If we excluded it, then the red-brock-road pattern wouldn't work for the user to resolve the error
if (report.errorFields && report.errorFields.addWorkspaceRoom) {
Expand Down

0 comments on commit 17ea722

Please sign in to comment.