web/admin: default to user active to true
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
9fc072e4df
commit
db5279f952
|
@ -62,7 +62,7 @@ export class UserForm extends Form<User> {
|
||||||
<ak-form-element-horizontal
|
<ak-form-element-horizontal
|
||||||
name="isActive">
|
name="isActive">
|
||||||
<div class="pf-c-check">
|
<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">
|
<label class="pf-c-check__label">
|
||||||
${t`Is active`}
|
${t`Is active`}
|
||||||
</label>
|
</label>
|
||||||
|
|
Reference in New Issue