From 50c362a4d5c38fda5b4082de8d2550a374f1f6d2 Mon Sep 17 00:00:00 2001 From: Alex Beaman Date: Tue, 4 Jul 2023 16:15:05 +0300 Subject: [PATCH] Login is a const here --- src/pages/home/report/ReportActionItemSingle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/home/report/ReportActionItemSingle.js b/src/pages/home/report/ReportActionItemSingle.js index 77dec326425b..875b899d9926 100644 --- a/src/pages/home/report/ReportActionItemSingle.js +++ b/src/pages/home/report/ReportActionItemSingle.js @@ -72,8 +72,8 @@ const showWorkspaceDetails = (reportID) => { function ReportActionItemSingle(props) { const actorAccountID = props.action.actorAccountID; - let {displayName, login} = props.personalDetailsList[actorAccountID] || {}; - const {avatar, pendingFields} = props.personalDetailsList[actorAccountID] || {}; + let {displayName} = props.personalDetailsList[actorAccountID] || {}; + const {avatar, login, pendingFields} = props.personalDetailsList[actorAccountID] || {}; let actorHint = (login || displayName).replace(CONST.REGEX.MERGED_ACCOUNT_PREFIX, ''); const isWorkspaceActor = ReportUtils.isPolicyExpenseChat(props.report) && !actorAccountID; let avatarSource = UserUtils.getAvatar(avatar, actorAccountID);