IO-1116 Notes Multiline display
This commit is contained in:
@@ -29,7 +29,7 @@ export default function JobDetailCardsNotesComponent({ loading, data }) {
|
|||||||
bordered
|
bordered
|
||||||
dataSource={data.notes}
|
dataSource={data.notes}
|
||||||
renderItem={(item) => (
|
renderItem={(item) => (
|
||||||
<List.Item>
|
<List.Item style={{ whiteSpace: "pre-line" }}>
|
||||||
{item.critical ? (
|
{item.critical ? (
|
||||||
<EyeInvisibleFilled style={{ margin: 4, color: "red" }} />
|
<EyeInvisibleFilled style={{ margin: 4, color: "red" }} />
|
||||||
) : null}
|
) : null}
|
||||||
|
|||||||
@@ -57,6 +57,9 @@ export function JobNotesComponent({
|
|||||||
dataIndex: "text",
|
dataIndex: "text",
|
||||||
key: "text",
|
key: "text",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
render: (text, record) => (
|
||||||
|
<span style={{ whiteSpace: "pre-line" }}>{text}</span>
|
||||||
|
),
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user