1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #6602 from thornbill/avatar-bg

This commit is contained in:
Bill Thornton 2025-03-13 13:11:53 -04:00 committed by GitHub
commit c6347b6fba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,9 @@ const UserAvatar: FC<UserAvatarProps> = ({ user }) => {
undefined
}
sx={{
bgcolor: theme.palette.primary.dark,
bgcolor: api && user.Id && user.PrimaryImageTag ?
theme.palette.background.paper :
theme.palette.primary.dark,
color: 'inherit'
}}
/>