mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-14 04:08:19 +00:00
Make UserBoxList label optional (#2882)
Signed-off-by: muhtimur <timur.mukhamedishin@xored.com>
This commit is contained in:
parent
c6fc35cfaa
commit
7fb22e669f
@ -27,11 +27,11 @@
|
||||
|
||||
export let items: Ref<Employee>[] = []
|
||||
export let _class: Ref<Class<Employee>> = contact.class.Employee
|
||||
export let label: IntlString
|
||||
export let docQuery: DocumentQuery<Employee> | undefined = {
|
||||
active: true
|
||||
}
|
||||
|
||||
export let label: IntlString | undefined = undefined
|
||||
export let kind: ButtonKind = 'no-border'
|
||||
export let size: ButtonSize = 'small'
|
||||
export let justify: 'left' | 'center' = 'center'
|
||||
@ -77,7 +77,7 @@
|
||||
{kind}
|
||||
{size}
|
||||
{justify}
|
||||
showTooltip={{ label, direction: labelDirection }}
|
||||
showTooltip={label ? { label, direction: labelDirection } : undefined}
|
||||
on:click={addPerson}
|
||||
>
|
||||
<svelte:fragment slot="content">
|
||||
|
Loading…
Reference in New Issue
Block a user