web/admin: fix display for user supseruser status

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-21 11:18:55 +02:00
parent 4a06ebf4f9
commit 0e35bb18c7
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ export class UserViewPage extends LitElement {
</dt> </dt>
<dd class="pf-c-description-list__description"> <dd class="pf-c-description-list__description">
<div class="pf-c-description-list__text"> <div class="pf-c-description-list__text">
<ak-label color=${this.user.isActive ? PFColor.Green : PFColor.Orange} text=""></ak-label> <ak-label color=${this.user.isSuperuser ? PFColor.Green : PFColor.Orange} text=""></ak-label>
</div> </div>
</dd> </dd>
</div> </div>