mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-16 05:13:06 +00: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)
|
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,
|
url: person.avatarProps?.url !== undefined ? getGravatarUrl(person.avatarProps?.url, width) : undefined,
|
||||||
srcSet:
|
srcSet:
|
||||||
person.avatarProps?.url !== undefined
|
person.avatarProps?.url !== undefined
|
||||||
|
Loading…
Reference in New Issue
Block a user