fix: comment visualization in table and fields popovers

This commit is contained in:
santilapi13 2024-04-11 19:15:28 -03:00
parent 217b7e8234
commit dd57df8bc2

View File

@ -168,7 +168,7 @@ export default function Table(props) {
position="rightTop" position="rightTop"
showArrow showArrow
trigger="click" trigger="click"
style={{ width: "200px" }} style={{ width: "200px", wordBreak: "break-word" }}
> >
<Button <Button
icon={<IconMore />} icon={<IconMore />}
@ -219,10 +219,19 @@ export default function Table(props) {
<strong>Default :</strong>{" "} <strong>Default :</strong>{" "}
{e.default === "" ? "Not set" : e.default} {e.default === "" ? "Not set" : e.default}
</p> </p>
<p>
<strong>Comment:</strong>{" "}
{e.comment === "" ? (
"Not comment"
) : (
<div>{e.comment}</div>
)}
</p>
</div> </div>
} }
position="right" position="right"
showArrow showArrow
style={{ width: "200px", wordBreak: "break-word" }}
> >
{field(e, i)} {field(e, i)}
</Popover> </Popover>