add popovers to chats

This commit is contained in:
Henry Jameson 2022-07-20 12:54:51 +03:00
commit f6d0d3efba
4 changed files with 12 additions and 18 deletions

View file

@ -14,16 +14,16 @@
v-if="!isCurrentUser"
class="avatar-wrapper"
>
<router-link
<UserPopover
v-if="chatViewItem.isHead"
:to="userProfileLink"
:userId="author.id"
>
<UserAvatar
:compact="true"
:better-shadow="betterShadow"
:user="author"
/>
</router-link>
</UserPopover>
</div>
<div class="chat-message-inner">
<div