Skip to content

Commit

Permalink
Fix wrong avatar on workspace invite page
Browse files Browse the repository at this point in the history
  • Loading branch information
Kicu committed Apr 16, 2024
1 parent 6b3528a commit 445a70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/OptionsListUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 445a70e

Please sign in to comment.