mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-27 20:14:57 +02:00
TSK-1469,-1470: added SelectAvatars, UserBoxItems components (#3176)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
@@ -16,7 +16,8 @@
|
||||
import contact, { Employee } from '@hcengineering/contact'
|
||||
import type { Class, DocumentQuery, Ref } from '@hcengineering/core'
|
||||
import type { IntlString } from '@hcengineering/platform'
|
||||
import { Button, ButtonKind, ButtonSize, Label, showPopup, TooltipAlignment } from '@hcengineering/ui'
|
||||
import { Button, Label, showPopup } from '@hcengineering/ui'
|
||||
import type { ButtonKind, ButtonSize, TooltipAlignment } from '@hcengineering/ui'
|
||||
import { createEventDispatcher } from 'svelte'
|
||||
import plugin from '../plugin'
|
||||
import { employeeByIdStore } from '../utils'
|
||||
@@ -86,7 +87,7 @@
|
||||
{#if persons.length === 1}
|
||||
<UserInfo value={persons[0]} size={'inline'} />
|
||||
{:else}
|
||||
<CombineAvatars {_class} bind:items size={'inline'} />
|
||||
<CombineAvatars {_class} bind:items size={'inline'} hideLimit />
|
||||
<span class="overflow-label ml-1-5">
|
||||
<Label label={plugin.string.NumberMembers} params={{ count: persons.length }} />
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user