Merged in release/2022-08-26 (pull request #568)
IO-1984 Resolve error on email audit tab. Approved-by: Patrick Fic
This commit is contained in:
@@ -85,7 +85,8 @@ export function JobAuditTrail({ currentUser, jobId }) {
|
||||
dataIndex: "subject",
|
||||
key: "subject",
|
||||
},
|
||||
...(currentUser?.email.includes("@imex.") && [
|
||||
...(currentUser?.email.includes("@imex.")
|
||||
? [
|
||||
{
|
||||
title: t("audit.fields.contents"),
|
||||
dataIndex: "contents",
|
||||
@@ -106,7 +107,8 @@ export function JobAuditTrail({ currentUser, jobId }) {
|
||||
</Button>
|
||||
),
|
||||
},
|
||||
]),
|
||||
]
|
||||
: []),
|
||||
];
|
||||
return (
|
||||
<Row gutter={[16, 16]}>
|
||||
|
||||
Reference in New Issue
Block a user