mirror of
https://github.com/strapi/strapi.git
synced 2025-08-12 10:48:12 +00:00
RelationInput: Fix Tooltip prop-type if IDs are rendered
This commit is contained in:
parent
3f2c6fb440
commit
685b3e11b0
@ -304,7 +304,7 @@ const RelationInput = ({
|
|||||||
style={style}
|
style={style}
|
||||||
>
|
>
|
||||||
<BoxEllipsis minWidth={0} paddingTop={1} paddingBottom={1} paddingRight={4}>
|
<BoxEllipsis minWidth={0} paddingTop={1} paddingBottom={1} paddingRight={4}>
|
||||||
<Tooltip description={mainField ?? id}>
|
<Tooltip description={mainField ?? `${id}`}>
|
||||||
{href ? (
|
{href ? (
|
||||||
<LinkEllipsis to={href} disabled={disabled}>
|
<LinkEllipsis to={href} disabled={disabled}>
|
||||||
{mainField ?? id}
|
{mainField ?? id}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user