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 cdf88e4477
commit 29d3db5112

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}`;
}