Skip to content

Commit

Permalink
Merge pull request #41219 from Expensify/monil-fixCrash
Browse files Browse the repository at this point in the history
[CP Staging] Fix crash when navigating to new public room

(cherry picked from commit 4db1763)
  • Loading branch information
MonilBhavsar authored and OSBotify committed Apr 29, 2024
1 parent feced9f commit b9ee13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/SidebarUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ function getOptionData({
result.subtitle = subtitle;
result.participantsList = participantPersonalDetailList;

result.icons = ReportUtils.getIcons(report, personalDetails, UserUtils.getAvatar(personalDetail?.avatar ?? {}, personalDetail?.accountID), '', -1, policy);
result.icons = ReportUtils.getIcons(report, personalDetails, UserUtils.getAvatar(personalDetail?.avatar ?? '', personalDetail?.accountID), '', -1, policy);
result.searchText = OptionsListUtils.getSearchText(report, reportName, participantPersonalDetailList, result.isChatRoom || result.isPolicyExpenseChat, result.isThread);
result.displayNamesWithTooltips = displayNamesWithTooltips;

Expand Down

0 comments on commit b9ee13c

Please sign in to comment.