diff --git a/web/src/pages/events/EventListPage.ts b/web/src/pages/events/EventListPage.ts index 26433c00d..32bac4d25 100644 --- a/web/src/pages/events/EventListPage.ts +++ b/web/src/pages/events/EventListPage.ts @@ -47,16 +47,21 @@ export class EventListPage extends TablePage { new TableColumn(""), ]; } + row(item: EventWithContext): TemplateResult[] { return [ html`
${item.action}
${item.app}`, - html`
${item.user?.username}
- ${item.user.on_behalf_of ? html` - ${t`On behalf of ${item.user.on_behalf_of.username}`} - ` : html``}`, + item.user?.username ? + html` + ${item.user?.username} + + ${item.user.on_behalf_of ? html` + ${t`On behalf of ${item.user.on_behalf_of.username}`} + ` : html``}` : + html`-`, html`${item.created?.toLocaleString()}`, - html`${item.clientIp}`, + html`${item.clientIp || "-"}`, html` `,