diff --git a/src/app/core/audit/list-audit-entries/list-audit-entries.component.html b/src/app/core/audit/list-audit-entries/list-audit-entries.component.html index 41ade13f..68408f57 100644 --- a/src/app/core/audit/list-audit-entries/list-audit-entries.component.html +++ b/src/app/core/audit/list-audit-entries/list-audit-entries.component.html @@ -69,13 +69,13 @@

Audit Logs

Object - @if (entry.audit.object?.after) { - {{ entry.audit.object.after | json }} - } @else { - {{ entry.audit.object | json }} -
+ @if (entry.audit.object) { + @if (entry.audit.object?.after) { + {{ entry.audit.object.after | json }} + } @else { + {{ entry.audit.object | json }} -
+ } }
@@ -98,18 +98,16 @@

Audit Logs

@if (entry.audit.object?.before) { {{ entry.audit.object?.before | json }} -
- -
+ }