Skip to content

Commit

Permalink
Revert "Display user name instead of report name"
Browse files Browse the repository at this point in the history
This reverts commit bb6e4cb.
  • Loading branch information
blazejkustra committed Jan 31, 2025
1 parent bb6e4cb commit 1c5d547
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pages/home/report/ReportActionItemSingle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,8 @@ function ReportActionItemSingle({
avatarSource = delegatePersonalDetails?.avatar;
avatarId = delegatePersonalDetails?.accountID;
} else if (isReportPreviewAction && isTripRoom) {
const ownerPersonalDetails = personalDetails?.[ownerAccountID ?? CONST.DEFAULT_NUMBER_ID];
displayName = ownerPersonalDetails?.displayName ?? '';
avatarSource = ownerPersonalDetails?.avatar;
displayName = report?.reportName ?? '';
avatarSource = personalDetails?.[ownerAccountID ?? CONST.DEFAULT_NUMBER_ID]?.avatar;
avatarId = ownerAccountID;
}

Expand Down

0 comments on commit 1c5d547

Please sign in to comment.