From ce47d4cf39d0ca0c9249d6e652026eea80b2f363 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 19 Jan 2023 15:46:37 +0100 Subject: [PATCH] web/admin: link group of notification rule Signed-off-by: Jens Langhammer --- web/src/admin/events/RuleListPage.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/admin/events/RuleListPage.ts b/web/src/admin/events/RuleListPage.ts index 579bab544..95c5047af 100644 --- a/web/src/admin/events/RuleListPage.ts +++ b/web/src/admin/events/RuleListPage.ts @@ -94,7 +94,9 @@ export class RuleListPage extends TablePage { return [ html`${item.name}`, html`${SeverityToLabel(item.severity)}`, - html`${item.groupObj?.name || t`None (rule disabled)`}`, + html`${item.groupObj + ? html`${item.groupObj.name}` + : t`None (rule disabled)`}`, html` ${t`Update`} ${t`Update Notification Rule`}