web/admin: fix tenant's default flag not being saved

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

#1044
This commit is contained in:
Jens Langhammer 2021-06-19 12:42:29 +02:00
parent 405c690193
commit 641872a33a
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ export class TenantForm extends ModelForm<Tenant, string> {
<input type="text" value="${first(this.instance?.domain, window.location.host)}" class="pf-c-form-control" required>
<p class="pf-c-form__helper-text">${t`Matching is done based on domain suffix, so if you enter domain.tld, foo.domain.tld will still match.`}</p>
</ak-form-element-horizontal>
<ak-form-element-horizontal name="default">
<ak-form-element-horizontal name="_default">
<div class="pf-c-check">
<input type="checkbox" class="pf-c-check__input" ?checked=${first(this.instance?._default, false)}>
<label class="pf-c-check__label">