Employee presenter fix (#2034)

Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
Denis Bykhov
2022-06-08 13:18:47 +07:00
committed by GitHub
parent d234102402
commit 7561ea0c42
@@ -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}