mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-26 13:47:26 +03:00
TSK-963: show avatar on comments (#2857)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
24a4fa3b29
commit
398182e3e6
@ -37,7 +37,6 @@
|
||||
import { getValue, TxDisplayViewlet, updateViewlet } from '../utils'
|
||||
import TxViewTx from './TxViewTx.svelte'
|
||||
import Edit from './icons/Edit.svelte'
|
||||
import IconProfile from './icons/Profile.svelte'
|
||||
|
||||
export let tx: DisplayTx
|
||||
export let viewlets: Map<ActivityKey, TxViewlet>
|
||||
@ -158,7 +157,7 @@
|
||||
{#if showIcon}
|
||||
{#if isComment}
|
||||
<div class="msgactivity-avatar">
|
||||
<Icon icon={IconProfile} size={'medium'} />
|
||||
<Component is={contact.component.Avatar} props={{ avatar: employee.avatar, size: 'medium' }} />
|
||||
</div>
|
||||
{:else}
|
||||
<div class="msgactivity-icon">
|
||||
|
Loading…
Reference in New Issue
Block a user