web/admin: default to user active to true

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-05-07 14:08:17 +02:00
parent 9fc072e4df
commit db5279f952

View file

@ -62,7 +62,7 @@ export class UserForm extends Form<User> {
<ak-form-element-horizontal
name="isActive">
<div class="pf-c-check">
<input type="checkbox" class="pf-c-check__input" ?checked=${first(this.user?.isActive, false)}>
<input type="checkbox" class="pf-c-check__input" ?checked=${first(this.user?.isActive, true)}>
<label class="pf-c-check__label">
${t`Is active`}
</label>