From eab7d0e1a5b27386c7d5153355c3c8e37e7469d8 Mon Sep 17 00:00:00 2001 From: Agata Kosior Date: Mon, 16 Sep 2024 16:03:35 +0700 Subject: [PATCH] fix: fix mentions copied on mobile --- src/libs/ReportActionsUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/ReportActionsUtils.ts b/src/libs/ReportActionsUtils.ts index f54356799300..8d61ad864409 100644 --- a/src/libs/ReportActionsUtils.ts +++ b/src/libs/ReportActionsUtils.ts @@ -1686,7 +1686,7 @@ function getCardIssuedMessage(reportAction: OnyxEntry, shouldRende const assigneeAccountID = (reportAction?.originalMessage as IssueNewCardOriginalMessage)?.assigneeAccountID; const assigneeDetails = PersonalDetailsUtils.getPersonalDetailsByIDs([assigneeAccountID], currentUserAccountID ?? -1)[0]; - const assignee = shouldRenderHTML ? `` : assigneeDetails?.firstName ?? assigneeDetails.login ?? ''; + const assignee = shouldRenderHTML ? `` : assigneeDetails?.firstName ?? assigneeDetails.login ?? ''; const link = shouldRenderHTML ? `${Localize.translateLocal('cardPage.expensifyCard')}` : Localize.translateLocal('cardPage.expensifyCard');