From fc4f8c6b9facd6af9a34711f43f622be8cf59e21 Mon Sep 17 00:00:00 2001 From: Jules Rosser Date: Thu, 15 Sep 2022 11:27:14 +0100 Subject: [PATCH] do not pass default avatar when building option --- src/libs/OptionsListUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/OptionsListUtils.js b/src/libs/OptionsListUtils.js index 2ab2d89ee9c8..b56c08f7ca5a 100644 --- a/src/libs/OptionsListUtils.js +++ b/src/libs/OptionsListUtils.js @@ -349,7 +349,7 @@ function createOption(logins, personalDetails, report, reportActions = {}, { result.text = reportName; result.subtitle = subtitle; result.participantsList = personalDetailList; - result.icons = ReportUtils.getIcons(report, personalDetails, policies, personalDetail.avatar); + result.icons = ReportUtils.getIcons(report, personalDetails, policies); result.searchText = getSearchText(report, reportName, personalDetailList, result.isChatRoom || result.isPolicyExpenseChat); return result;