diff --git a/web/src/elements/events/UserEvents.ts b/web/src/elements/events/UserEvents.ts index 7b686ebee..c400e08bd 100644 --- a/web/src/elements/events/UserEvents.ts +++ b/web/src/elements/events/UserEvents.ts @@ -1,5 +1,6 @@ import "@goauthentik/admin/events/EventInfo"; import "@goauthentik/admin/events/EventInfo"; +import { ActionToLabel } from "@goauthentik/admin/events/utils"; import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; import { EventWithContext } from "@goauthentik/common/events"; import { uiConfig } from "@goauthentik/common/ui/config"; @@ -47,7 +48,7 @@ export class UserEvents extends Table { row(item: EventWithContext): TemplateResult[] { return [ - html`${item.action}`, + html`${ActionToLabel(item.action)}`, html`
${item.user?.username}
${item.user.on_behalf_of ? html` ${t`On behalf of ${item.user.on_behalf_of.username}`} `