Avatar hot fix (#2858)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2023-03-30 11:46:03 +06:00 committed by GitHub
parent 2e3dcb348a
commit cda1df2842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,7 +157,7 @@
{#if showIcon}
{#if isComment}
<div class="msgactivity-avatar">
<Component is={contact.component.Avatar} props={{ avatar: employee.avatar, size: 'medium' }} />
<Component is={contact.component.Avatar} props={{ avatar: employee?.avatar, size: 'medium' }} />
</div>
{:else}
<div class="msgactivity-icon">