diff --git a/client/src/components/jobs-notes/jobs.notes.component.jsx b/client/src/components/jobs-notes/jobs.notes.component.jsx
index 0616fe196..0a1071a2f 100644
--- a/client/src/components/jobs-notes/jobs.notes.component.jsx
+++ b/client/src/components/jobs-notes/jobs.notes.component.jsx
@@ -15,17 +15,36 @@ export default function JobNotesComponent({
const [noteModalVisible, setNoteModalVisible] = useState(false);
const [existingNote, setExistingNote] = useState(null);
const columns = [
+ {
+ title: "",
+ dataIndex: "icons",
+ key: "icons",
+ width: 80,
+ render: (text, record) => (
+
+ {" "}
+ {record.critical ? (
+
+ ) : null}
+ {record.private ? (
+
+ ) : null}
+
+ )
+ },
{
title: t("notes.fields.text"),
dataIndex: "text",
key: "text",
ellipsis: true
},
+
{
title: t("notes.fields.updatedat"),
dataIndex: "updated_at",
key: "updated_at",
defaultSortOrder: "descend",
+ width: 200,
sorter: (a, b) => new Date(a.updated_at) - new Date(b.updated_at),
render: (text, record) => (
@@ -36,12 +55,14 @@ export default function JobNotesComponent({
{
title: t("notes.fields.createdby"),
dataIndex: "created_by",
- key: "created_by"
+ key: "created_by",
+ width: 200
},
{
title: t("notes.actions.actions"),
dataIndex: "actions",
key: "actions",
+ width: 150,
render: (text, record) => (
+
;
if (error) return ;
+
return (
@@ -18,7 +18,7 @@ function JobsDetailPage({ jobId, hash, data, match, history }) {
{
history.push(p);
}}>