IO-1882 Add manual event from job detail actions menu.

This commit is contained in:
Patrick Fic
2022-08-22 15:01:59 -07:00
parent 3b9c44b0a8
commit 44e313d8e3
3 changed files with 154 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ export default function JobAuditTrail({ jobId }) {
title: t("audit.fields.created"),
dataIndex: " created_at",
key: " created_at",
width: "10%",
render: (text, record) => (
<DateTimeFormatter>{record.created_at}</DateTimeFormatter>
),
@@ -50,14 +50,13 @@ export default function JobAuditTrail({ jobId }) {
title: t("audit.fields.useremail"),
dataIndex: "useremail",
key: "useremail",
width: "10%",
},
{
title: t("audit.fields.to"),
dataIndex: "to",
key: "to",
width: "10%",
render: (text, record) =>
record.to &&
record.to.map((email, idx) => <Tag key={idx}>{email}</Tag>),
@@ -66,7 +65,7 @@ export default function JobAuditTrail({ jobId }) {
title: t("audit.fields.cc"),
dataIndex: "cc",
key: "cc",
width: "10%",
render: (text, record) =>
record.cc &&
record.cc.map((email, idx) => <Tag key={idx}>{email}</Tag>),
@@ -75,7 +74,6 @@ export default function JobAuditTrail({ jobId }) {
title: t("audit.fields.subject"),
dataIndex: "subject",
key: "subject",
width: "10%",
},
// {
// title: t("audit.fields.contents"),