diff --git a/web/src/components/ak-event-info.ts b/web/src/components/ak-event-info.ts index 0eb3396c89..e94944d976 100644 --- a/web/src/components/ak-event-info.ts +++ b/web/src/components/ak-event-info.ts @@ -271,9 +271,10 @@ export class EventInfo extends AKElement {
${Object.keys(diff).map((key) => { const value = diff[key]; - const previousCol = value.previous_value - ? JSON.stringify(value.previous_value, null, 4) - : msg("-"); + const previousCol = + value.previous_value !== null + ? JSON.stringify(value.previous_value, null, 4) + : msg("-"); let newCol = html``; if (value.add || value.remove) { newCol = html`