fix: comment visualization in table and fields popovers
This commit is contained in:
parent
217b7e8234
commit
dd57df8bc2
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user