From 445a70e923134e4a19444e84b61e595fff0b6af2 Mon Sep 17 00:00:00 2001 From: Mateusz Titz Date: Tue, 16 Apr 2024 11:31:39 +0200 Subject: [PATCH] Fix wrong avatar on workspace invite page --- src/libs/OptionsListUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/OptionsListUtils.ts b/src/libs/OptionsListUtils.ts index 4a55d69267dc..2db2d2047c36 100644 --- a/src/libs/OptionsListUtils.ts +++ b/src/libs/OptionsListUtils.ts @@ -307,7 +307,7 @@ function getAvatarsForAccountIDs(accountIDs: number[], personalDetails: OnyxEntr return accountIDs.map((accountID) => { const login = reversedDefaultValues[accountID] ?? ''; - const userPersonalDetail = personalDetails?.[accountID] ?? {login, accountID, avatar: ''}; + const userPersonalDetail = personalDetails?.[accountID] ?? {login, accountID}; return { id: accountID,