Skip to content

Commit 94abb71

Browse files
authored
Merge pull request Expensify#65694 from FitseTLT/fix-show-all-members-of-invoice-reports
Fix - Invoice - Invited user not shown in members list, unavailable avatar invoice title is different
2 parents d717789 + dc33bd5 commit 94abb71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/ReportUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2896,7 +2896,7 @@ function getParticipantsAccountIDsForDisplay(
28962896

28972897
function getParticipantsList(report: Report, personalDetails: OnyxEntry<PersonalDetailsList>, isRoomMembersList = false, reportMetadata: OnyxEntry<ReportMetadata> = undefined): number[] {
28982898
const isReportGroupChat = isGroupChat(report);
2899-
const shouldExcludeHiddenParticipants = !isReportGroupChat && !isMoneyRequestReport(report) && !isMoneyRequest(report);
2899+
const shouldExcludeHiddenParticipants = !isReportGroupChat && !isInvoiceReport(report) && !isMoneyRequestReport(report) && !isMoneyRequest(report);
29002900
const chatParticipants = getParticipantsAccountIDsForDisplay(report, isRoomMembersList || shouldExcludeHiddenParticipants, false, false, reportMetadata);
29012901

29022902
return chatParticipants.filter((accountID) => {

0 commit comments

Comments
 (0)