Skip to content

Commit

Permalink
Merge pull request #28350 from Tony-MK/fix/26392
Browse files Browse the repository at this point in the history
Fix/26392: Changing Currency in IOU Causes Account Email to Replace Request Email
  • Loading branch information
deetergp authored Oct 3, 2023
2 parents 18e051a + b65d192 commit e30dce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionItemSingle.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const showWorkspaceDetails = (reportID) => {
};

function ReportActionItemSingle(props) {
const actorAccountID = props.action.actorAccountID;
const actorAccountID = props.action.actionName === CONST.REPORT.ACTIONS.TYPE.REPORTPREVIEW && props.iouReport ? props.iouReport.managerID : props.action.actorAccountID;
let {displayName} = props.personalDetailsList[actorAccountID] || {};
const {avatar, login, pendingFields, status, fallbackIcon} = props.personalDetailsList[actorAccountID] || {};
let actorHint = (login || displayName || '').replace(CONST.REGEX.MERGED_ACCOUNT_PREFIX, '');
Expand Down

0 comments on commit e30dce1

Please sign in to comment.