From 9bba08f8c125c1914d3ba903e0c4ac4804228092 Mon Sep 17 00:00:00 2001 From: Vyacheslav Tumanov Date: Fri, 24 Mar 2023 09:53:55 +0500 Subject: [PATCH] TSK-937: Fix tooltip for employee (#2822) Signed-off-by: Vyacheslav Tumanov --- plugins/contact-resources/src/components/PersonPresenter.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/contact-resources/src/components/PersonPresenter.svelte b/plugins/contact-resources/src/components/PersonPresenter.svelte index 3d58bb5515..cec8b288d4 100644 --- a/plugins/contact-resources/src/components/PersonPresenter.svelte +++ b/plugins/contact-resources/src/components/PersonPresenter.svelte @@ -50,7 +50,7 @@ ? tooltipLabels.personLabel : getEmbeddedLabel(getName(value)) : undefined - const props = tooltipLabels.props ? tooltipLabels.props : undefined + const props = tooltipLabels.props ? tooltipLabels.props : value ? { value: getName(value) } : undefined return { component, label,