Merge branch 'feature/IO-3532-parts-queue-ui-adjustments' of bitbucket.org:snaptsoft/bodyshop into feature/IO-3532-parts-queue-ui-adjustments
This commit is contained in:
@@ -22,10 +22,14 @@ export function OwnerNameDisplay({ bodyshop, ownerObject, withToolTip = false })
|
|||||||
returnString =
|
returnString =
|
||||||
`${ownerObject?.ownr_ln || ""}, ${ownerObject?.ownr_fn || ""} ${ownerObject?.ownr_co_nm || ""}`.trim();
|
`${ownerObject?.ownr_ln || ""}, ${ownerObject?.ownr_fn || ""} ${ownerObject?.ownr_co_nm || ""}`.trim();
|
||||||
} else {
|
} else {
|
||||||
return `${ownerObject?.ownr_fn || ""} ${ownerObject?.ownr_ln || ""} ${ownerObject.ownr_co_nm || ""}`.trim();
|
returnString = `${ownerObject?.ownr_fn || ""} ${ownerObject?.ownr_ln || ""} ${ownerObject.ownr_co_nm || ""}`.trim();
|
||||||
}
|
}
|
||||||
if (withToolTip) {
|
if (withToolTip) {
|
||||||
return <Tooltip title={returnString}>{returnString}</Tooltip>;
|
return (
|
||||||
|
<Tooltip title={returnString} mouseEnterDelay={0.5}>
|
||||||
|
{returnString}
|
||||||
|
</Tooltip>
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
return returnString;
|
return returnString;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user