From 267cf232b2f9dc94f5555568e7d15ce97c5e04e5 Mon Sep 17 00:00:00 2001 From: nkdengineer Date: Tue, 4 Jun 2024 15:31:01 +0700 Subject: [PATCH] fix: Workspace - Wrong members number is displayed --- src/libs/actions/Policy/Policy.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libs/actions/Policy/Policy.ts b/src/libs/actions/Policy/Policy.ts index 4d918352ba91..7ffbe8ccb355 100644 --- a/src/libs/actions/Policy/Policy.ts +++ b/src/libs/actions/Policy/Policy.ts @@ -1321,6 +1321,9 @@ function createPolicyExpenseChats(policyID: string, invitedEmailsToAccountIDs: I }, isOptimisticReport: false, pendingChatMembers: null, + participants: { + [accountID]: allPersonalDetails && allPersonalDetails[accountID] ? {} : null, + }, }, }); workspaceMembersChats.onyxSuccessData.push({