feat(ui): match avatar color other platforms (#933)
* feat(ui): match avatar color other platforms * Update packages/web/src/components/UI/Avatar.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/web/src/components/DeviceInfoPanel.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -283,7 +283,7 @@ export const MessagesPage = () => {
|
||||
}}
|
||||
>
|
||||
<Avatar
|
||||
text={node.user?.shortName ?? t("unknown.shortName")}
|
||||
nodeNum={node.num}
|
||||
className={cn(hasNodeError(node.num) && "text-red-500")}
|
||||
showError={hasNodeError(node.num)}
|
||||
showFavorite={node.isFavorite}
|
||||
|
||||
@@ -152,7 +152,7 @@ const NodesPage = (): JSX.Element => {
|
||||
{
|
||||
content: (
|
||||
<Avatar
|
||||
text={shortName}
|
||||
nodeNum={node.num}
|
||||
showFavorite={node.isFavorite}
|
||||
showError={hasNodeError(node.num)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user