diff --git a/src/pages/home/report/ReportActionItemSingle.js b/src/pages/home/report/ReportActionItemSingle.js index f92d3a9d732a..77dec326425b 100644 --- a/src/pages/home/report/ReportActionItemSingle.js +++ b/src/pages/home/report/ReportActionItemSingle.js @@ -72,9 +72,9 @@ const showWorkspaceDetails = (reportID) => { function ReportActionItemSingle(props) { const actorAccountID = props.action.actorAccountID; - let {displayName} = props.personalDetailsList[actorAccountID] || {}; + let {displayName, login} = props.personalDetailsList[actorAccountID] || {}; const {avatar, pendingFields} = props.personalDetailsList[actorAccountID] || {}; - let actorHint = displayName.replace(CONST.REGEX.MERGED_ACCOUNT_PREFIX, ''); + let actorHint = (login || displayName).replace(CONST.REGEX.MERGED_ACCOUNT_PREFIX, ''); const isWorkspaceActor = ReportUtils.isPolicyExpenseChat(props.report) && !actorAccountID; let avatarSource = UserUtils.getAvatar(avatar, actorAccountID);