web/admin: lint bound group under policies

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-06-19 21:22:47 +02:00
parent c824af5bc3
commit db557401aa
1 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,9 @@ export class BoundPoliciesList extends Table<PolicyBinding> {
if (item.user) {
return html` <a href=${`#/identity/users/${item.user}`}> ${label} </a> `;
}
if (item.group) {
return html` <a href=${`#/identity/groups/${item.group}`}> ${label} </a> `;
}
return html`${label}`;
}