diff --git a/src/libs/SidebarUtils.js b/src/libs/SidebarUtils.js index 50dc46c8d4b5..5fc03ab77e67 100644 --- a/src/libs/SidebarUtils.js +++ b/src/libs/SidebarUtils.js @@ -252,7 +252,7 @@ function getOptionData(reportID) { const hasMultipleParticipants = participantPersonalDetailList.length > 1 || result.isChatRoom || result.isPolicyExpenseChat; const subtitle = ReportUtils.getChatRoomSubtitle(report, policies); - const login = Str.removeSMSDomain(personalDetail.login); + const login = Str.removeSMSDomain(personalDetail.login || ''); const formattedLogin = Str.isSMSLogin(login) ? LocalePhoneNumber.formatPhoneNumber(login) : login; // We only create tooltips for the first 10 users or so since some reports have hundreds of users, causing performance to degrade.