web/admin: link group of notification rule

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-01-19 15:46:37 +01:00
parent c11367553e
commit ce47d4cf39
No known key found for this signature in database

View file

@ -94,7 +94,9 @@ export class RuleListPage extends TablePage<NotificationRule> {
return [
html`${item.name}`,
html`${SeverityToLabel(item.severity)}`,
html`${item.groupObj?.name || t`None (rule disabled)`}`,
html`${item.groupObj
? html`<a href="#/identity/groups/${item.groupObj.pk}">${item.groupObj.name}</a>`
: t`None (rule disabled)`}`,
html`<ak-forms-modal>
<span slot="submit"> ${t`Update`} </span>
<span slot="header"> ${t`Update Notification Rule`} </span>