Skip to content

Commit

Permalink
Merge pull request #26980 from Pujan92/fix/26561
Browse files Browse the repository at this point in the history
Fix: Dev: console error if we open RHN page directly
  • Loading branch information
nkuoch authored Sep 8, 2023
2 parents 153ab36 + c1dfab7 commit 05883f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ function getRoomWelcomeMessage(report, isUserPolicyAdmin) {
* @returns {Boolean}
*/
function chatIncludesConcierge(report) {
return report.participantAccountIDs && _.contains(report.participantAccountIDs, CONST.ACCOUNT_ID.CONCIERGE);
return !_.isEmpty(report.participantAccountIDs) && _.contains(report.participantAccountIDs, CONST.ACCOUNT_ID.CONCIERGE);
}

/**
Expand Down

0 comments on commit 05883f0

Please sign in to comment.