Assign fallback to avatar color, fixing "New group" icon
This commit is contained in:
parent
e705ba136a
commit
b980d99453
2 changed files with 1 additions and 10 deletions
|
@ -105,13 +105,4 @@
|
||||||
&__spinner-container {
|
&__spinner-container {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--undefined {
|
|
||||||
background-color: $color-gray-15;
|
|
||||||
color: $color-gray-75;
|
|
||||||
|
|
||||||
&--icon {
|
|
||||||
background-color: $color-gray-75;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,7 +73,7 @@ export const Avatar: FunctionComponent<Props> = ({
|
||||||
acceptedMessageRequest,
|
acceptedMessageRequest,
|
||||||
avatarPath,
|
avatarPath,
|
||||||
className,
|
className,
|
||||||
color,
|
color = 'A200',
|
||||||
conversationType,
|
conversationType,
|
||||||
i18n,
|
i18n,
|
||||||
isMe,
|
isMe,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue