web/admin: link group of notification rule
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
c11367553e
commit
ce47d4cf39
|
@ -94,7 +94,9 @@ export class RuleListPage extends TablePage<NotificationRule> {
|
||||||
return [
|
return [
|
||||||
html`${item.name}`,
|
html`${item.name}`,
|
||||||
html`${SeverityToLabel(item.severity)}`,
|
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>
|
html`<ak-forms-modal>
|
||||||
<span slot="submit"> ${t`Update`} </span>
|
<span slot="submit"> ${t`Update`} </span>
|
||||||
<span slot="header"> ${t`Update Notification Rule`} </span>
|
<span slot="header"> ${t`Update Notification Rule`} </span>
|
||||||
|
|
Reference in New Issue