Skip to content

Commit 17ea722

Browse files
authored
Merge pull request #30154 from dukenv0307/fix/29851
Hide the thread that have not been commented
2 parents 5d05bc5 + 950f37a commit 17ea722

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/libs/ReportUtils.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3295,6 +3295,11 @@ function shouldReportBeInOptionList(report, currentReportId, isInGSDMode, betas,
32953295
return true;
32963296
}
32973297

3298+
// Hide only chat threads that haven't been commented on (other threads are actionable)
3299+
if (isChatThread(report) && canHideReport && isEmptyChat) {
3300+
return false;
3301+
}
3302+
32983303
// Include reports that have errors from trying to add a workspace
32993304
// If we excluded it, then the red-brock-road pattern wouldn't work for the user to resolve the error
33003305
if (report.errorFields && report.errorFields.addWorkspaceRoom) {

0 commit comments

Comments
 (0)