mirror of
https://github.com/hcengineering/platform.git
synced 2026-10-01 14:05:05 +02:00
Fix direct title (#9721)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
@@ -97,17 +97,17 @@
|
||||
</defs>
|
||||
</svg>
|
||||
<Avatar
|
||||
person={persons[0]}
|
||||
person={persons.find((it) => it._id !== me) ?? persons[0]}
|
||||
size={avatarSize}
|
||||
name={persons[0].name}
|
||||
showStatus={false}
|
||||
clipPath="url(#direct-count-marker)"
|
||||
/>
|
||||
<span class="persons-count {avatarSize}">
|
||||
{#if persons.length > 9}
|
||||
{#if persons.length > 10}
|
||||
9+
|
||||
{:else}
|
||||
{persons.length}
|
||||
{persons.length - 1}
|
||||
{/if}
|
||||
</span>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user