From f0a8415df5c5708c41d54b9e24ff6414f9078300 Mon Sep 17 00:00:00 2001 From: Monil Bhavsar Date: Fri, 17 Nov 2023 17:53:33 +0530 Subject: [PATCH] Pass policyID for workspace avatar --- src/components/MultipleAvatars.tsx | 3 +-- src/pages/settings/InitialSettingsPage.js | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/MultipleAvatars.tsx b/src/components/MultipleAvatars.tsx index 93e292ce76db..e867de7ddb97 100644 --- a/src/components/MultipleAvatars.tsx +++ b/src/components/MultipleAvatars.tsx @@ -174,8 +174,7 @@ function MultipleAvatars({ > {[...avatars].splice(0, maxAvatarsInRow).map((icon, index) => ( PolicyUtils.shouldShowPolicy(policy, props.network.isOffline)) .sortBy((policy) => policy.name.toLowerCase()) .map((policy) => ({ + id: policy.id, source: policy.avatar || ReportUtils.getDefaultWorkspaceAvatar(policy.name), name: policy.name, type: CONST.ICON_TYPE_WORKSPACE,