Исправление неверного отображения аватара в упоминаниях

This commit is contained in:
RoyceDa
2026-02-19 19:31:31 +02:00
parent bb55fb47aa
commit f959c6335c

View File

@@ -19,8 +19,8 @@ export function MentionRow(props : MentionRowProps) {
{props.username == 'all' && <Avatar title="@" variant="filled" color={colors.brandColor}>@</Avatar>}
{props.username == 'admin' && <Avatar title="@" variant="filled" color={colors.error}>@</Avatar>}
{props.username != 'all' && props.username != 'admin' && <Avatar
title={props.title}
variant="filled"
name={props.title}
variant="light"
color="initials"
src={avatars.length > 0 ? avatars[0].avatar : null}
></Avatar>}