feat: Revamp navigation bar (#6031)
closes: #4428 Testing for fetchMoreRecords is pending, along with component tests --------- Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { EntityChip } from 'twenty-ui';
|
||||
import { AvatarChip } from 'twenty-ui';
|
||||
|
||||
import { getImageAbsoluteURIOrBase64 } from '~/utils/image/getImageAbsoluteURIOrBase64';
|
||||
|
||||
@ -9,8 +9,8 @@ export type UserChipProps = {
|
||||
};
|
||||
|
||||
export const UserChip = ({ id, name, avatarUrl }: UserChipProps) => (
|
||||
<EntityChip
|
||||
entityId={id}
|
||||
<AvatarChip
|
||||
placeholderColorSeed={id}
|
||||
name={name}
|
||||
avatarType="rounded"
|
||||
avatarUrl={getImageAbsoluteURIOrBase64(avatarUrl) || ''}
|
||||
|
||||
Reference in New Issue
Block a user