web/admin: fix default for policy binding negate

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-06-06 13:47:36 +02:00
parent e786244988
commit b55c3a687d
3 changed files with 9 additions and 7 deletions

View File

@ -202,7 +202,7 @@ export class PolicyBindingForm extends ModelForm<PolicyBinding, string> {
</ak-form-element-horizontal>
<ak-form-element-horizontal name="negate">
<div class="pf-c-check">
<input type="checkbox" class="pf-c-check__input" ?checked=${first(this.instance?.negate, true)}>
<input type="checkbox" class="pf-c-check__input" ?checked=${first(this.instance?.negate, false)}>
<label class="pf-c-check__label">
${t`Negate result`}
</label>