From 3018cef293847918c9c297ddcd19712c24ac5c1f Mon Sep 17 00:00:00 2001 From: Manan Jadhav Date: Tue, 19 Jul 2022 03:35:21 +0530 Subject: [PATCH] fix: typo in personaldetails 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 b0fa4bd9442..ff9bf4fa80d 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.myPersonalDetails.login); + const reportParticipants = _.without(lodashGet(this.props.report, 'participants', []), this.props.personalDetails.login); const participantsWithoutExpensifyEmails = _.difference(reportParticipants, CONST.EXPENSIFY_EMAILS); const reportRecipient = this.props.personalDetails[participantsWithoutExpensifyEmails[0]];