Skip to content

PersonAvatar weird border when azureId is invalid #1106

@Jonathanio123

Description

@Jonathanio123

Describe the bug
Noticed that personavatar shows an odd border when the azureid is invalid. Don't know if this is intended or if it should be allowed to pass in an invalid id.

To Reproduce

<PersonAvatar azureId={undefined} />

Expected behavior
A placeholder icon similiar to the old fusion-component version:
image

Screenshots
size={AvatarSize.Small}
image
size={AvatarSize.Large}
image
size not set
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser Edge, Chrome and Firefox

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions