Skip to content

Commit 9ad4ccb

Browse files
authored
Merge pull request #61663 from nkdengineer/fix/61588
On leaving room thread, member section should be hidden
2 parents a936418 + 56dffd7 commit 9ad4ccb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pages/ReportDetailsPage.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,8 @@ function ReportDetailsPage({policies, report, route, reportMetadata}: ReportDeta
439439
(!isUserCreatedPolicyRoom && participants.length) ||
440440
(isUserCreatedPolicyRoom && (isPolicyEmployee || (isChatThread && !isPublicRoomUtil(report))))) &&
441441
!isConciergeChatReport(report) &&
442-
!isSystemChat
442+
!isSystemChat &&
443+
activeChatMembers.length > 0
443444
) {
444445
items.push({
445446
key: CONST.REPORT_DETAILS_MENU_ITEM.MEMBERS,

0 commit comments

Comments
 (0)