From 7707977ace2912b27e74214000e4e0a4d8445393 Mon Sep 17 00:00:00 2001 From: puneet Date: Tue, 19 Jul 2022 00:39:22 -0700 Subject: [PATCH] use correct prop --- src/pages/home/report/ReportActionCompose.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/home/report/ReportActionCompose.js b/src/pages/home/report/ReportActionCompose.js index ff9bf4fa80dd..8e0aaeb6687d 100755 --- a/src/pages/home/report/ReportActionCompose.js +++ b/src/pages/home/report/ReportActionCompose.js @@ -471,7 +471,7 @@ class ReportActionCompose extends React.Component { return null; } - const reportParticipants = _.without(lodashGet(this.props.report, 'participants', []), this.props.personalDetails.login); + const reportParticipants = _.without(lodashGet(this.props.report, 'participants', []), this.props.currentUserPersonalDetails.login); const participantsWithoutExpensifyEmails = _.difference(reportParticipants, CONST.EXPENSIFY_EMAILS); const reportRecipient = this.props.personalDetails[participantsWithoutExpensifyEmails[0]];