mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +03:00
Fix gravatar srcset (#5744)
This commit is contained in:
parent
00d579adfd
commit
f084060363
@ -401,7 +401,7 @@ export default async (): Promise<Resources> => ({
|
||||
color: getPersonColor(person, name)
|
||||
}
|
||||
},
|
||||
GetGravatarUrl: async (person: Data<WithLookup<AvatarInfo>>, name: string, width: number) => ({
|
||||
GetGravatarUrl: async (person: Data<WithLookup<AvatarInfo>>, name: string, width: number = 64) => ({
|
||||
url: person.avatarProps?.url !== undefined ? getGravatarUrl(person.avatarProps?.url, width) : undefined,
|
||||
srcSet:
|
||||
person.avatarProps?.url !== undefined
|
||||
|
Loading…
Reference in New Issue
Block a user