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 09:53:55 +05:00 committed by GitHub
parent 993b620fe2
commit 9bba08f8c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,