web: fix designation for flow lookups
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
d0f1daf025
commit
69668a2a05
|
@ -1,4 +1,4 @@
|
||||||
import { FlowDesignationEnum, FlowsApi, ProvidersApi, LDAPProvider, CoreApi } from "authentik-api";
|
import { FlowDesignationEnum, FlowsApi, ProvidersApi, LDAPProvider, CoreApi, FlowsInstancesListDesignationEnum } from "authentik-api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
@ -55,7 +55,7 @@ export class LDAPProviderFormPage extends ModelForm<LDAPProvider, number> {
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.Authentication,
|
designation: FlowsInstancesListDesignationEnum.Authentication,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
return html`<option value=${ifDefined(flow.pk)} ?selected=${this.instance?.authorizationFlow === flow.pk}>${flow.name} (${flow.slug})</option>`;
|
return html`<option value=${ifDefined(flow.pk)} ?selected=${this.instance?.authorizationFlow === flow.pk}>${flow.name} (${flow.slug})</option>`;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { CryptoApi, FlowDesignationEnum, FlowsApi, OAuth2Provider, ClientTypeEnum, IssuerModeEnum, JwtAlgEnum, SubModeEnum, PropertymappingsApi, ProvidersApi } from "authentik-api";
|
import { CryptoApi, FlowDesignationEnum, FlowsApi, OAuth2Provider, ClientTypeEnum, IssuerModeEnum, JwtAlgEnum, SubModeEnum, PropertymappingsApi, ProvidersApi, FlowsInstancesListDesignationEnum } from "authentik-api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement, property } from "lit-element";
|
import { customElement, property } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
@ -61,7 +61,7 @@ export class OAuth2ProviderFormPage extends ModelForm<OAuth2Provider, number> {
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.Authorization,
|
designation: FlowsInstancesListDesignationEnum.Authorization,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
return html`<option value=${ifDefined(flow.pk)} ?selected=${this.instance?.authorizationFlow === flow.pk}>${flow.name} (${flow.slug})</option>`;
|
return html`<option value=${ifDefined(flow.pk)} ?selected=${this.instance?.authorizationFlow === flow.pk}>${flow.name} (${flow.slug})</option>`;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { CryptoApi, FlowDesignationEnum, FlowsApi, ProvidersApi, ProxyProvider } from "authentik-api";
|
import { CryptoApi, FlowDesignationEnum, FlowsApi, FlowsInstancesListDesignationEnum, ProvidersApi, ProxyProvider } from "authentik-api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement, property } from "lit-element";
|
import { customElement, property } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
@ -105,7 +105,7 @@ export class ProxyProviderFormPage extends ModelForm<ProxyProvider, number> {
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.Authorization,
|
designation: FlowsInstancesListDesignationEnum.Authorization,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
return html`<option value=${ifDefined(flow.pk)} ?selected=${this.instance?.authorizationFlow === flow.pk}>${flow.name} (${flow.slug})</option>`;
|
return html`<option value=${ifDefined(flow.pk)} ?selected=${this.instance?.authorizationFlow === flow.pk}>${flow.name} (${flow.slug})</option>`;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { CryptoApi, FlowDesignationEnum, FlowsApi, SAMLProvider, ProvidersApi, PropertymappingsApi, SpBindingEnum, DigestAlgorithmEnum, SignatureAlgorithmEnum } from "authentik-api";
|
import { CryptoApi, FlowDesignationEnum, FlowsApi, SAMLProvider, ProvidersApi, PropertymappingsApi, SpBindingEnum, DigestAlgorithmEnum, SignatureAlgorithmEnum, FlowsInstancesListDesignationEnum } from "authentik-api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
@ -55,7 +55,7 @@ export class SAMLProviderFormPage extends ModelForm<SAMLProvider, number> {
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.Authorization,
|
designation: FlowsInstancesListDesignationEnum.Authorization,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
return html`<option value=${ifDefined(flow.pk)} ?selected=${this.instance?.authorizationFlow === flow.pk}>${flow.name} (${flow.slug})</option>`;
|
return html`<option value=${ifDefined(flow.pk)} ?selected=${this.instance?.authorizationFlow === flow.pk}>${flow.name} (${flow.slug})</option>`;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { FlowDesignationEnum, FlowsApi, ProvidersApi, SAMLProvider } from "authentik-api";
|
import { FlowDesignationEnum, FlowsApi, FlowsInstancesListDesignationEnum, ProvidersApi, SAMLProvider } from "authentik-api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
@ -43,7 +43,7 @@ export class SAMLProviderImportForm extends Form<SAMLProvider> {
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.Authorization,
|
designation: FlowsInstancesListDesignationEnum.Authorization,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
return html`<option value=${ifDefined(flow.pk)}>${flow.name} (${flow.slug})</option>`;
|
return html`<option value=${ifDefined(flow.pk)}>${flow.name} (${flow.slug})</option>`;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { OAuthSource, SourcesApi, FlowsApi, FlowDesignationEnum, UserMatchingModeEnum, OAuthSourceRequest } from "authentik-api";
|
import { OAuthSource, SourcesApi, FlowsApi, FlowDesignationEnum, UserMatchingModeEnum, OAuthSourceRequest, FlowsInstancesListDesignationEnum } from "authentik-api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement, property } from "lit-element";
|
import { customElement, property } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
@ -230,7 +230,7 @@ export class OAuthSourceForm extends ModelForm<OAuthSource, string> {
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.Authentication,
|
designation: FlowsInstancesListDesignationEnum.Authentication,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
let selected = this.instance?.authenticationFlow === flow.pk;
|
let selected = this.instance?.authenticationFlow === flow.pk;
|
||||||
|
@ -250,7 +250,7 @@ export class OAuthSourceForm extends ModelForm<OAuthSource, string> {
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.Enrollment,
|
designation: FlowsInstancesListDesignationEnum.Enrollment,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
let selected = this.instance?.enrollmentFlow === flow.pk;
|
let selected = this.instance?.enrollmentFlow === flow.pk;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { PlexSource, SourcesApi, FlowsApi, FlowDesignationEnum, UserMatchingModeEnum } from "authentik-api";
|
import { PlexSource, SourcesApi, FlowsApi, FlowDesignationEnum, UserMatchingModeEnum, FlowsInstancesListDesignationEnum } from "authentik-api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement, property } from "lit-element";
|
import { customElement, property } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
@ -181,7 +181,7 @@ export class PlexSourceForm extends ModelForm<PlexSource, string> {
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.Authentication,
|
designation: FlowsInstancesListDesignationEnum.Authentication,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
let selected = this.instance?.authenticationFlow === flow.pk;
|
let selected = this.instance?.authenticationFlow === flow.pk;
|
||||||
|
@ -201,7 +201,7 @@ export class PlexSourceForm extends ModelForm<PlexSource, string> {
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.Enrollment,
|
designation: FlowsInstancesListDesignationEnum.Enrollment,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
let selected = this.instance?.enrollmentFlow === flow.pk;
|
let selected = this.instance?.enrollmentFlow === flow.pk;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { SAMLSource, SourcesApi, BindingTypeEnum, NameIdPolicyEnum, CryptoApi, DigestAlgorithmEnum, SignatureAlgorithmEnum, FlowsApi, FlowDesignatio } from "authentik-api";
|
import { SAMLSource, SourcesApi, BindingTypeEnum, NameIdPolicyEnum, CryptoApi, DigestAlgorithmEnum, SignatureAlgorithmEnum, FlowsApi, FlowDesignatio, FlowsInstancesListDesignationEnum } from "authentik-api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
@ -218,7 +218,7 @@ export class SAMLSourceForm extends ModelForm<SAMLSource, string> {
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.StageConfiguration,
|
designation: FlowsInstancesListDesignationEnum.StageConfiguration,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
let selected = this.instance?.preAuthenticationFlow === flow.pk;
|
let selected = this.instance?.preAuthenticationFlow === flow.pk;
|
||||||
|
@ -238,7 +238,7 @@ export class SAMLSourceForm extends ModelForm<SAMLSource, string> {
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.Authentication,
|
designation: FlowsInstancesListDesignationEnum.Authentication,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
let selected = this.instance?.authenticationFlow === flow.pk;
|
let selected = this.instance?.authenticationFlow === flow.pk;
|
||||||
|
@ -258,7 +258,7 @@ export class SAMLSourceForm extends ModelForm<SAMLSource, string> {
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.Enrollment,
|
designation: FlowsInstancesListDesignationEnum.Enrollment,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
let selected = this.instance?.enrollmentFlow === flow.pk;
|
let selected = this.instance?.enrollmentFlow === flow.pk;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { FlowDesignationEnum, FlowsApi, AuthenticatorStaticStage, StagesApi } from "authentik-api";
|
import { FlowDesignationEnum, FlowsApi, AuthenticatorStaticStage, StagesApi, FlowsInstancesListDesignationEnum } from "authentik-api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
@ -69,7 +69,7 @@ export class AuthenticatorStaticStageForm extends ModelForm<AuthenticatorStaticS
|
||||||
<option value="" ?selected=${this.instance?.configureFlow === undefined}>---------</option>
|
<option value="" ?selected=${this.instance?.configureFlow === undefined}>---------</option>
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.StageConfiguration,
|
designation: FlowsInstancesListDesignationEnum.StageConfiguration,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
let selected = this.instance?.configureFlow === flow.pk;
|
let selected = this.instance?.configureFlow === flow.pk;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { FlowDesignationEnum, FlowsApi, AuthenticatorTOTPStage, StagesApi } from "authentik-api";
|
import { FlowDesignationEnum, FlowsApi, AuthenticatorTOTPStage, StagesApi, FlowsInstancesListDesignationEnum } from "authentik-api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
@ -75,7 +75,7 @@ export class AuthenticatorTOTPStageForm extends ModelForm<AuthenticatorTOTPStage
|
||||||
<option value="" ?selected=${this.instance?.configureFlow === undefined}>---------</option>
|
<option value="" ?selected=${this.instance?.configureFlow === undefined}>---------</option>
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.StageConfiguration,
|
designation: FlowsInstancesListDesignationEnum.StageConfiguration,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
let selected = this.instance?.configureFlow === flow.pk;
|
let selected = this.instance?.configureFlow === flow.pk;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { FlowDesignationEnum, FlowsApi, IdentificationStage, UserFieldsEnum, StagesApi } from "authentik-api";
|
import { FlowDesignationEnum, FlowsApi, IdentificationStage, UserFieldsEnum, StagesApi, FlowsInstancesListDesignationEnum } from "authentik-api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
@ -101,7 +101,7 @@ export class IdentificationStageForm extends ModelForm<IdentificationStage, stri
|
||||||
<option value="" ?selected=${this.instance?.enrollmentFlow === undefined}>---------</option>
|
<option value="" ?selected=${this.instance?.enrollmentFlow === undefined}>---------</option>
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.Enrollment,
|
designation: FlowsInstancesListDesignationEnum.Enrollment,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
const selected = this.instance?.enrollmentFlow === flow.pk;
|
const selected = this.instance?.enrollmentFlow === flow.pk;
|
||||||
|
@ -118,7 +118,7 @@ export class IdentificationStageForm extends ModelForm<IdentificationStage, stri
|
||||||
<option value="" ?selected=${this.instance?.recoveryFlow === undefined}>---------</option>
|
<option value="" ?selected=${this.instance?.recoveryFlow === undefined}>---------</option>
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.Recovery,
|
designation: FlowsInstancesListDesignationEnum.Recovery,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
const selected = this.instance?.recoveryFlow === flow.pk;
|
const selected = this.instance?.recoveryFlow === flow.pk;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { FlowDesignationEnum, FlowsApi, PasswordStage, BackendsEnum, StagesApi } from "authentik-api";
|
import { FlowDesignationEnum, FlowsApi, PasswordStage, BackendsEnum, StagesApi, FlowsInstancesListDesignationEnum } from "authentik-api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
@ -85,7 +85,7 @@ export class PasswordStageForm extends ModelForm<PasswordStage, string> {
|
||||||
<option value="" ?selected=${this.instance?.configureFlow === undefined}>---------</option>
|
<option value="" ?selected=${this.instance?.configureFlow === undefined}>---------</option>
|
||||||
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
designation: FlowDesignationEnum.StageConfiguration,
|
designation: FlowsInstancesListDesignationEnum.StageConfiguration,
|
||||||
}).then(flows => {
|
}).then(flows => {
|
||||||
return flows.results.map(flow => {
|
return flows.results.map(flow => {
|
||||||
let selected = this.instance?.configureFlow === flow.pk;
|
let selected = this.instance?.configureFlow === flow.pk;
|
||||||
|
|
Reference in a new issue