mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-12 04:37:44 +02:00
Employee presenter fix (#2034)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
export let tooltipLabels: { personLabel: IntlString; placeholderLabel?: IntlString } | undefined = undefined
|
||||
export let shouldShowAvatar: boolean = true
|
||||
export let shouldShowName: boolean = true
|
||||
export let shouldShowPlaceholder = false
|
||||
export let onEmployeeEdit: ((event: MouseEvent) => void) | undefined = undefined
|
||||
|
||||
let container: HTMLElement
|
||||
@@ -38,7 +39,7 @@
|
||||
onEdit={handlePersonEdit}
|
||||
{shouldShowAvatar}
|
||||
{shouldShowName}
|
||||
shouldShowPlaceholder={true}
|
||||
{shouldShowPlaceholder}
|
||||
/>
|
||||
</div>
|
||||
{#if value?.$lookup?.statuses?.length}
|
||||
|
||||
Reference in New Issue
Block a user