mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-30 01:17:21 +02:00
userinfo: fix missing profile picture (#3154)
This commit is contained in:
parent
ad57ad9b9f
commit
9dedb9eb16
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ type AvatarProps = {
|
|||
|
||||
export const Avatar = ({ url, name }: AvatarProps): JSX.Element => {
|
||||
if (isArray(url)) {
|
||||
url = url?.pop();
|
||||
url = url?.[0];
|
||||
}
|
||||
|
||||
if (url === "https://graph.microsoft.com/v1.0/me/photo/$value") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue