File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
components/AuditLogRow/AuditLogDescription Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,9 @@ export const AuditLogDescription: FC<{ auditLog: AuditLog }> = ({
30
30
const onBehalfOf =
31
31
auditLog . additional_fields . workspace_owner &&
32
32
auditLog . additional_fields . workspace_owner !== "unknown" &&
33
- auditLog . additional_fields . workspace_owner !== auditLog . user ?. username &&
34
- `on behalf of ${ auditLog . additional_fields . workspace_owner } `
33
+ auditLog . additional_fields . workspace_owner !== auditLog . user ?. username
34
+ ? `on behalf of ${ auditLog . additional_fields . workspace_owner } `
35
+ : ""
35
36
36
37
if ( auditLog . resource_link ) {
37
38
return (
Original file line number Diff line number Diff line change 11
11
"description" : {
12
12
"linkedWorkspaceBuild" : " {{user}} <1>{{action}}</1> workspace <strong>{{workspaceName}}</strong>" ,
13
13
"unlinkedWorkspaceBuild" : " {{user}} {{action}} workspace <strong>{{workspaceName}}</strong>" ,
14
- "linkedAuditDescription" : " {{truncatedDescription}} <1>{{target}}</1> {{onBehalfOf}}" ,
15
- "unlinkedAuditDescription" : " {{truncatedDescription}} {{target}} {{onBehalfOf}}"
14
+ "linkedAuditDescription" : " {{truncatedDescription}} <1><strong> {{target}}</strong> </1> {{onBehalfOf}}" ,
15
+ "unlinkedAuditDescription" : " {{truncatedDescription}} <strong> {{target}}</strong> {{onBehalfOf}}"
16
16
},
17
17
"deletedLabel" : " (deleted)" ,
18
18
"ip" : " IP: " ,
You can’t perform that action at this time.
0 commit comments