remove employee avatar from message viewer (#2119)

Signed-off-by: budaeva <irina.budaeva@xored.com>
This commit is contained in:
budaeva 2022-06-21 20:14:17 +07:00 committed by GitHub
parent d4a0443c15
commit 2ea248a270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -78,7 +78,10 @@
props={{
objectId: node.getAttribute('data-id'),
title: node.getAttribute('data-label'),
_class: node.getAttribute('data-objectclass')
_class: node.getAttribute('data-objectclass'),
props: {
shouldShowAvatar: false
}
}}
/>
{:else}

View File

@ -34,8 +34,8 @@
$: handlePersonEdit = onEmployeeEdit ?? onEdit
</script>
<div bind:this={container} class="flex-row-center clear-mins">
<div class="over-underline" class:pr-2={shouldShowName}>
<div bind:this={container} class="inline-flex clear-mins">
<div class="over-underline">
<PersonPresenter
{value}
{tooltipLabels}
@ -47,7 +47,7 @@
/>
</div>
{#if value?.$lookup?.statuses?.length}
<div class="status content-color">
<div class="pl-2 status content-color">
<EmployeeStatusPresenter employee={value} />
</div>
{/if}