IO-1116 Notes Multiline display

This commit is contained in:
Patrick Fic
2021-06-02 09:00:18 -07:00
parent 9ff9baa78c
commit 8770e95ee3
2 changed files with 4 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ export default function JobDetailCardsNotesComponent({ loading, data }) {
bordered
dataSource={data.notes}
renderItem={(item) => (
<List.Item>
<List.Item style={{ whiteSpace: "pre-line" }}>
{item.critical ? (
<EyeInvisibleFilled style={{ margin: 4, color: "red" }} />
) : null}

View File

@@ -57,6 +57,9 @@ export function JobNotesComponent({
dataIndex: "text",
key: "text",
ellipsis: true,
render: (text, record) => (
<span style={{ whiteSpace: "pre-line" }}>{text}</span>
),
},
{