From d30d9e0e03125c848b8e1e83ed53661ca227ba09 Mon Sep 17 00:00:00 2001 From: VH Date: Thu, 3 Aug 2023 15:35:21 +0700 Subject: [PATCH] Fix old tooltip show email instead of display name --- src/libs/ReportUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/ReportUtils.js b/src/libs/ReportUtils.js index 91c35d4cd956..2f978a511fa4 100644 --- a/src/libs/ReportUtils.js +++ b/src/libs/ReportUtils.js @@ -860,7 +860,7 @@ function getIconsForParticipants(participants, personalDetails) { const avatarSource = UserUtils.getAvatar(lodashGet(personalDetails, [accountID, 'avatar'], ''), accountID); participantDetails.push([ accountID, - lodashGet(personalDetails, [accountID, 'login'], lodashGet(personalDetails, [accountID, 'displayName'], '')), + lodashGet(personalDetails, [accountID, 'displayName']) || lodashGet(personalDetails, [accountID, 'login'], ''), lodashGet(personalDetails, [accountID, 'firstName'], ''), avatarSource, ]);