diff --git a/src/libs/ReportUtils.js b/src/libs/ReportUtils.js index f24959c4bac2..d12cd6c6016d 100644 --- a/src/libs/ReportUtils.js +++ b/src/libs/ReportUtils.js @@ -484,7 +484,7 @@ function shouldDisableDetailPage(report) { */ function isExpensifyOnlyParticipantInReport(report) { const reportParticipants = _.without(lodashGet(report, 'participantAccountIDs', []), currentUserAccountID); - return lodashGet(report, 'participantAccountIDs', []).length === 1 && _.some(reportParticipants, (accountID) => _.contains(CONST.EXPENSIFY_ACCOUNT_IDS, accountID)); + return reportParticipants.length === 1 && _.some(reportParticipants, (accountID) => _.contains(CONST.EXPENSIFY_ACCOUNT_IDS, accountID)); } /**