refactor: change Avatar component to take a single variable instead of user or profile

This commit is contained in:
Twig 2025-07-17 16:18:18 +02:00
parent d2ff4ac87c
commit e339b1df10
No known key found for this signature in database
4 changed files with 21 additions and 17 deletions

View file

@ -29,7 +29,7 @@
:text="props.replyMessage?.message"
:reply-id="props.replyMessage.uuid" max-width="reply" />
<div class="left-column">
<Avatar :user="props.author" class="message-author-avatar"/>
<Avatar :profile="props.author" class="message-author-avatar"/>
</div>
<div class="message-data">
<div class="message-metadata">