diff --git a/web/src/admin/events/EventInfo.ts b/web/src/admin/events/EventInfo.ts index 6c75a1fed..f92e71270 100644 --- a/web/src/admin/events/EventInfo.ts +++ b/web/src/admin/events/EventInfo.ts @@ -13,6 +13,7 @@ import { customElement, property } from "lit/decorators.js"; import { until } from "lit/directives/until.js"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; +import PFCard from "@patternfly/patternfly/components/Card/card.css"; import PFDescriptionList from "@patternfly/patternfly/components/DescriptionList/description-list.css"; import PFList from "@patternfly/patternfly/components/List/list.css"; import PFFlex from "@patternfly/patternfly/layouts/Flex/flex.css"; @@ -30,6 +31,7 @@ export class EventInfo extends AKElement { PFBase, PFButton, PFFlex, + PFCard, PFList, PFDescriptionList, css` @@ -56,40 +58,42 @@ export class EventInfo extends AKElement { if (context === null) { return html`-`; } - return html`
${JSON.stringify(this.event?.context, null, 4)}
+ ${JSON.stringify(this.event?.context, null, 4)}
+ ${JSON.stringify(this.event?.user, null, 4)}
+ ${JSON.stringify(this.event?.user, null, 4)}
+ ${this.event.context.message}+
${this.event.context.message}+
${this.event.context.message || this.event.context.error}+
${this.event.context.message || this.event.context.error}+
${this.event.context.expression}
+ ${this.event.context.expression}
+ ${JSON.stringify(
- (this.event.context.request as EventContext)
- .context,
- null,
- 4,
- )}
- ${JSON.stringify(
+ (this.event.context.request as EventContext)
+ .context,
+ null,
+ 4,
+ )}
+ ${this.event.context.message || this.event.context.error}
+ ${this.event.context.message || this.event.context.error}
+ ${JSON.stringify(
- (this.event.context.request as EventContext)
- .context,
- null,
- 4,
- )}
- ${JSON.stringify(
+ (this.event.context.request as EventContext)
+ .context,
+ null,
+ 4,
+ )}
+ ${this.event.context.message}+
${this.event.context.message}+