From 8f5b33a3a2b44d7c741e89b1685e8e98ae182991 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 14 Jan 2021 18:13:52 +0100 Subject: [PATCH] web: show more context on policy_exception --- web/src/pages/events/EventInfo.ts | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/web/src/pages/events/EventInfo.ts b/web/src/pages/events/EventInfo.ts index f56894965..763c17960 100644 --- a/web/src/pages/events/EventInfo.ts +++ b/web/src/pages/events/EventInfo.ts @@ -31,6 +31,9 @@ export class EventInfo extends LitElement { } getModelInfo(context: EventContext): TemplateResult { + if (context === null) { + return html`-`; + } return html`