web/admin: fix default order for *bindingForms

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-06 16:56:19 +02:00
parent 4b2119510c
commit e678e3553b
3 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ export class FlowViewPage extends LitElement {
slug: this.flow.slug
}).then(link => {
const finalURL = `${link.link}?next=/%23${window.location.href}`;
window.open(finalURL, '_blank');
window.open(finalURL, "_blank");
});
}}>
${t`Execute`}

View File

@ -128,7 +128,7 @@ export class StageBindingForm extends Form<FlowStageBinding> {
label=${t`Order`}
?required=${true}
name="order">
<input type="number" value="${until(this.getOrder(), this.fsb?.order)}" class="pf-c-form-control" required>
<input type="number" value="${until(this.getOrder())}" class="pf-c-form-control" required>
</ak-form-element-horizontal>
<ak-form-element-horizontal
label=${t`Policy engine mode`}

View File

@ -194,7 +194,7 @@ export class PolicyBindingForm extends Form<PolicyBinding> {
label=${t`Order`}
?required=${true}
name="order">
<input type="number" value="${until(this.getOrder(), this.binding?.order)}" class="pf-c-form-control" required>
<input type="number" value="${until(this.getOrder())}" class="pf-c-form-control" required>
</ak-form-element-horizontal>
<ak-form-element-horizontal
label=${t`Timeout`}