[PeoplePicker] fix missing avatar in user search dropdown (#1069)
This commit is contained in:
@ -30,6 +30,7 @@ export function PeoplePicker({ personId, onSubmit, onCancel }: OwnProps) {
|
||||
id: person.id,
|
||||
name: person.firstName + ' ' + person.lastName,
|
||||
avatarType: 'rounded',
|
||||
avatarUrl: person.avatarUrl ?? '',
|
||||
}),
|
||||
orderByField: 'firstName',
|
||||
searchOnFields: ['firstName', 'lastName'],
|
||||
|
||||
@ -36,6 +36,7 @@ export function FilterDropdownUserSearchSelect({
|
||||
entityType: Entity.User,
|
||||
name: `${entity.displayName}`,
|
||||
avatarType: 'rounded',
|
||||
avatarUrl: entity.avatarUrl ?? '',
|
||||
}),
|
||||
searchFilter: filterDropdownSearchInput,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user