TSK-937: Fix tooltip for employee (#2822)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov
2023-03-24 11:53:55 +07:00
committed by GitHub
parent 993b620fe2
commit 9bba08f8c1
@@ -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,