web/admin: use more natural default ordering for objects
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
6db1c914ee
commit
0ad1392632
|
@ -100,7 +100,7 @@ export class StageBindingForm extends ModelForm<FlowStageBinding, string> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
})
|
})
|
||||||
.then((flows) => {
|
.then((flows) => {
|
||||||
return flows.results.map((flow) => {
|
return flows.results.map((flow) => {
|
||||||
|
@ -124,7 +124,7 @@ export class StageBindingForm extends ModelForm<FlowStageBinding, string> {
|
||||||
${until(
|
${until(
|
||||||
new StagesApi(DEFAULT_CONFIG)
|
new StagesApi(DEFAULT_CONFIG)
|
||||||
.stagesAllList({
|
.stagesAllList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
})
|
})
|
||||||
.then((stages) => {
|
.then((stages) => {
|
||||||
return this.groupStages(stages.results);
|
return this.groupStages(stages.results);
|
||||||
|
|
|
@ -59,7 +59,7 @@ export class OutpostForm extends ModelForm<Outpost, string> {
|
||||||
case OutpostTypeEnum.Proxy:
|
case OutpostTypeEnum.Proxy:
|
||||||
return new ProvidersApi(DEFAULT_CONFIG)
|
return new ProvidersApi(DEFAULT_CONFIG)
|
||||||
.providersProxyList({
|
.providersProxyList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
applicationIsnull: false,
|
applicationIsnull: false,
|
||||||
})
|
})
|
||||||
.then((providers) => {
|
.then((providers) => {
|
||||||
|
@ -80,7 +80,7 @@ export class OutpostForm extends ModelForm<Outpost, string> {
|
||||||
case OutpostTypeEnum.Ldap:
|
case OutpostTypeEnum.Ldap:
|
||||||
return new ProvidersApi(DEFAULT_CONFIG)
|
return new ProvidersApi(DEFAULT_CONFIG)
|
||||||
.providersLdapList({
|
.providersLdapList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
applicationIsnull: false,
|
applicationIsnull: false,
|
||||||
})
|
})
|
||||||
.then((providers) => {
|
.then((providers) => {
|
||||||
|
@ -141,7 +141,7 @@ export class OutpostForm extends ModelForm<Outpost, string> {
|
||||||
${until(
|
${until(
|
||||||
new OutpostsApi(DEFAULT_CONFIG)
|
new OutpostsApi(DEFAULT_CONFIG)
|
||||||
.outpostsServiceConnectionsAllList({
|
.outpostsServiceConnectionsAllList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
})
|
})
|
||||||
.then((scs) => {
|
.then((scs) => {
|
||||||
return scs.results.map((sc) => {
|
return scs.results.map((sc) => {
|
||||||
|
|
|
@ -86,7 +86,7 @@ export class ServiceConnectionDockerForm extends ModelForm<DockerServiceConnecti
|
||||||
${until(
|
${until(
|
||||||
new CryptoApi(DEFAULT_CONFIG)
|
new CryptoApi(DEFAULT_CONFIG)
|
||||||
.cryptoCertificatekeypairsList({
|
.cryptoCertificatekeypairsList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
})
|
})
|
||||||
.then((certs) => {
|
.then((certs) => {
|
||||||
return certs.results.map((cert) => {
|
return certs.results.map((cert) => {
|
||||||
|
@ -116,7 +116,7 @@ export class ServiceConnectionDockerForm extends ModelForm<DockerServiceConnecti
|
||||||
${until(
|
${until(
|
||||||
new CryptoApi(DEFAULT_CONFIG)
|
new CryptoApi(DEFAULT_CONFIG)
|
||||||
.cryptoCertificatekeypairsList({
|
.cryptoCertificatekeypairsList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
})
|
})
|
||||||
.then((certs) => {
|
.then((certs) => {
|
||||||
return certs.results.map((cert) => {
|
return certs.results.map((cert) => {
|
||||||
|
|
|
@ -188,7 +188,7 @@ export class PolicyBindingForm extends ModelForm<PolicyBinding, string> {
|
||||||
${until(
|
${until(
|
||||||
new PoliciesApi(DEFAULT_CONFIG)
|
new PoliciesApi(DEFAULT_CONFIG)
|
||||||
.policiesAllList({
|
.policiesAllList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
})
|
})
|
||||||
.then((policies) => {
|
.then((policies) => {
|
||||||
return this.groupPolicies(policies.results);
|
return this.groupPolicies(policies.results);
|
||||||
|
@ -209,7 +209,7 @@ export class PolicyBindingForm extends ModelForm<PolicyBinding, string> {
|
||||||
${until(
|
${until(
|
||||||
new CoreApi(DEFAULT_CONFIG)
|
new CoreApi(DEFAULT_CONFIG)
|
||||||
.coreGroupsList({
|
.coreGroupsList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
})
|
})
|
||||||
.then((groups) => {
|
.then((groups) => {
|
||||||
return groups.results.map((group) => {
|
return groups.results.map((group) => {
|
||||||
|
@ -237,7 +237,7 @@ export class PolicyBindingForm extends ModelForm<PolicyBinding, string> {
|
||||||
${until(
|
${until(
|
||||||
new CoreApi(DEFAULT_CONFIG)
|
new CoreApi(DEFAULT_CONFIG)
|
||||||
.coreUsersList({
|
.coreUsersList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
})
|
})
|
||||||
.then((users) => {
|
.then((users) => {
|
||||||
return users.results.map((user) => {
|
return users.results.map((user) => {
|
||||||
|
|
|
@ -71,7 +71,7 @@ export class LDAPProviderFormPage extends ModelForm<LDAPProvider, number> {
|
||||||
tenant().then((t) => {
|
tenant().then((t) => {
|
||||||
return new FlowsApi(DEFAULT_CONFIG)
|
return new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation: FlowsInstancesListDesignationEnum.Authentication,
|
designation: FlowsInstancesListDesignationEnum.Authentication,
|
||||||
})
|
})
|
||||||
.then((flows) => {
|
.then((flows) => {
|
||||||
|
@ -161,7 +161,7 @@ export class LDAPProviderFormPage extends ModelForm<LDAPProvider, number> {
|
||||||
${until(
|
${until(
|
||||||
new CryptoApi(DEFAULT_CONFIG)
|
new CryptoApi(DEFAULT_CONFIG)
|
||||||
.cryptoCertificatekeypairsList({
|
.cryptoCertificatekeypairsList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
hasKey: true,
|
hasKey: true,
|
||||||
})
|
})
|
||||||
.then((keys) => {
|
.then((keys) => {
|
||||||
|
|
|
@ -80,7 +80,7 @@ export class OAuth2ProviderFormPage extends ModelForm<OAuth2Provider, number> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation: FlowsInstancesListDesignationEnum.Authorization,
|
designation: FlowsInstancesListDesignationEnum.Authorization,
|
||||||
})
|
})
|
||||||
.then((flows) => {
|
.then((flows) => {
|
||||||
|
@ -183,7 +183,7 @@ ${this.instance?.redirectUris}</textarea
|
||||||
${until(
|
${until(
|
||||||
new CryptoApi(DEFAULT_CONFIG)
|
new CryptoApi(DEFAULT_CONFIG)
|
||||||
.cryptoCertificatekeypairsList({
|
.cryptoCertificatekeypairsList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
hasKey: true,
|
hasKey: true,
|
||||||
})
|
})
|
||||||
.then((keys) => {
|
.then((keys) => {
|
||||||
|
|
|
@ -281,7 +281,7 @@ export class ProxyProviderFormPage extends ModelForm<ProxyProvider, number> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation: FlowsInstancesListDesignationEnum.Authorization,
|
designation: FlowsInstancesListDesignationEnum.Authorization,
|
||||||
})
|
})
|
||||||
.then((flows) => {
|
.then((flows) => {
|
||||||
|
@ -331,7 +331,7 @@ export class ProxyProviderFormPage extends ModelForm<ProxyProvider, number> {
|
||||||
${until(
|
${until(
|
||||||
new CryptoApi(DEFAULT_CONFIG)
|
new CryptoApi(DEFAULT_CONFIG)
|
||||||
.cryptoCertificatekeypairsList({
|
.cryptoCertificatekeypairsList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
hasKey: true,
|
hasKey: true,
|
||||||
})
|
})
|
||||||
.then((keys) => {
|
.then((keys) => {
|
||||||
|
|
|
@ -70,7 +70,7 @@ export class SAMLProviderFormPage extends ModelForm<SAMLProvider, number> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation: FlowsInstancesListDesignationEnum.Authorization,
|
designation: FlowsInstancesListDesignationEnum.Authorization,
|
||||||
})
|
})
|
||||||
.then((flows) => {
|
.then((flows) => {
|
||||||
|
@ -154,7 +154,7 @@ export class SAMLProviderFormPage extends ModelForm<SAMLProvider, number> {
|
||||||
${until(
|
${until(
|
||||||
new CryptoApi(DEFAULT_CONFIG)
|
new CryptoApi(DEFAULT_CONFIG)
|
||||||
.cryptoCertificatekeypairsList({
|
.cryptoCertificatekeypairsList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
hasKey: true,
|
hasKey: true,
|
||||||
})
|
})
|
||||||
.then((keys) => {
|
.then((keys) => {
|
||||||
|
@ -188,7 +188,7 @@ export class SAMLProviderFormPage extends ModelForm<SAMLProvider, number> {
|
||||||
${until(
|
${until(
|
||||||
new CryptoApi(DEFAULT_CONFIG)
|
new CryptoApi(DEFAULT_CONFIG)
|
||||||
.cryptoCertificatekeypairsList({
|
.cryptoCertificatekeypairsList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
})
|
})
|
||||||
.then((keys) => {
|
.then((keys) => {
|
||||||
return keys.results.map((key) => {
|
return keys.results.map((key) => {
|
||||||
|
|
|
@ -48,7 +48,7 @@ export class SAMLProviderImportForm extends Form<SAMLProvider> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation: FlowsInstancesListDesignationEnum.Authorization,
|
designation: FlowsInstancesListDesignationEnum.Authorization,
|
||||||
})
|
})
|
||||||
.then((flows) => {
|
.then((flows) => {
|
||||||
|
|
|
@ -269,7 +269,7 @@ export class OAuthSourceForm extends ModelForm<OAuthSource, string> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation:
|
designation:
|
||||||
FlowsInstancesListDesignationEnum.Authentication,
|
FlowsInstancesListDesignationEnum.Authentication,
|
||||||
})
|
})
|
||||||
|
@ -308,7 +308,7 @@ export class OAuthSourceForm extends ModelForm<OAuthSource, string> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation: FlowsInstancesListDesignationEnum.Enrollment,
|
designation: FlowsInstancesListDesignationEnum.Enrollment,
|
||||||
})
|
})
|
||||||
.then((flows) => {
|
.then((flows) => {
|
||||||
|
|
|
@ -246,7 +246,7 @@ export class PlexSourceForm extends ModelForm<PlexSource, string> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation:
|
designation:
|
||||||
FlowsInstancesListDesignationEnum.Authentication,
|
FlowsInstancesListDesignationEnum.Authentication,
|
||||||
})
|
})
|
||||||
|
@ -285,7 +285,7 @@ export class PlexSourceForm extends ModelForm<PlexSource, string> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation: FlowsInstancesListDesignationEnum.Enrollment,
|
designation: FlowsInstancesListDesignationEnum.Enrollment,
|
||||||
})
|
})
|
||||||
.then((flows) => {
|
.then((flows) => {
|
||||||
|
|
|
@ -149,7 +149,7 @@ export class SAMLSourceForm extends ModelForm<SAMLSource, string> {
|
||||||
${until(
|
${until(
|
||||||
new CryptoApi(DEFAULT_CONFIG)
|
new CryptoApi(DEFAULT_CONFIG)
|
||||||
.cryptoCertificatekeypairsList({
|
.cryptoCertificatekeypairsList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
})
|
})
|
||||||
.then((keys) => {
|
.then((keys) => {
|
||||||
return keys.results.map((key) => {
|
return keys.results.map((key) => {
|
||||||
|
@ -341,7 +341,7 @@ export class SAMLSourceForm extends ModelForm<SAMLSource, string> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation:
|
designation:
|
||||||
FlowsInstancesListDesignationEnum.StageConfiguration,
|
FlowsInstancesListDesignationEnum.StageConfiguration,
|
||||||
})
|
})
|
||||||
|
@ -378,7 +378,7 @@ export class SAMLSourceForm extends ModelForm<SAMLSource, string> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation:
|
designation:
|
||||||
FlowsInstancesListDesignationEnum.Authentication,
|
FlowsInstancesListDesignationEnum.Authentication,
|
||||||
})
|
})
|
||||||
|
@ -417,7 +417,7 @@ export class SAMLSourceForm extends ModelForm<SAMLSource, string> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation: FlowsInstancesListDesignationEnum.Enrollment,
|
designation: FlowsInstancesListDesignationEnum.Enrollment,
|
||||||
})
|
})
|
||||||
.then((flows) => {
|
.then((flows) => {
|
||||||
|
|
|
@ -107,7 +107,7 @@ export class AuthenticatorDuoStageForm extends ModelForm<AuthenticatorDuoStage,
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation:
|
designation:
|
||||||
FlowsInstancesListDesignationEnum.StageConfiguration,
|
FlowsInstancesListDesignationEnum.StageConfiguration,
|
||||||
})
|
})
|
||||||
|
|
|
@ -235,7 +235,7 @@ export class AuthenticatorSMSStageForm extends ModelForm<AuthenticatorSMSStage,
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation:
|
designation:
|
||||||
FlowsInstancesListDesignationEnum.StageConfiguration,
|
FlowsInstancesListDesignationEnum.StageConfiguration,
|
||||||
})
|
})
|
||||||
|
|
|
@ -86,7 +86,7 @@ export class AuthenticatorStaticStageForm extends ModelForm<AuthenticatorStaticS
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation:
|
designation:
|
||||||
FlowsInstancesListDesignationEnum.StageConfiguration,
|
FlowsInstancesListDesignationEnum.StageConfiguration,
|
||||||
})
|
})
|
||||||
|
|
|
@ -90,7 +90,7 @@ export class AuthenticatorTOTPStageForm extends ModelForm<AuthenticatorTOTPStage
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation:
|
designation:
|
||||||
FlowsInstancesListDesignationEnum.StageConfiguration,
|
FlowsInstancesListDesignationEnum.StageConfiguration,
|
||||||
})
|
})
|
||||||
|
|
|
@ -183,7 +183,7 @@ export class AuthenticatorValidateStageForm extends ModelForm<AuthenticatorValid
|
||||||
${until(
|
${until(
|
||||||
new StagesApi(DEFAULT_CONFIG)
|
new StagesApi(DEFAULT_CONFIG)
|
||||||
.stagesAllList({
|
.stagesAllList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
})
|
})
|
||||||
.then((stages) => {
|
.then((stages) => {
|
||||||
return stages.results.map((stage) => {
|
return stages.results.map((stage) => {
|
||||||
|
|
|
@ -112,7 +112,7 @@ export class IdentificationStageForm extends ModelForm<IdentificationStage, stri
|
||||||
${until(
|
${until(
|
||||||
new StagesApi(DEFAULT_CONFIG)
|
new StagesApi(DEFAULT_CONFIG)
|
||||||
.stagesPasswordList({
|
.stagesPasswordList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
})
|
})
|
||||||
.then((stages) => {
|
.then((stages) => {
|
||||||
return stages.results.map((stage) => {
|
return stages.results.map((stage) => {
|
||||||
|
@ -228,7 +228,7 @@ export class IdentificationStageForm extends ModelForm<IdentificationStage, stri
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation: FlowsInstancesListDesignationEnum.Enrollment,
|
designation: FlowsInstancesListDesignationEnum.Enrollment,
|
||||||
})
|
})
|
||||||
.then((flows) => {
|
.then((flows) => {
|
||||||
|
@ -258,7 +258,7 @@ export class IdentificationStageForm extends ModelForm<IdentificationStage, stri
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation: FlowsInstancesListDesignationEnum.Recovery,
|
designation: FlowsInstancesListDesignationEnum.Recovery,
|
||||||
})
|
})
|
||||||
.then((flows) => {
|
.then((flows) => {
|
||||||
|
|
|
@ -49,7 +49,7 @@ export class InvitationListLink extends LitElement {
|
||||||
${until(
|
${until(
|
||||||
new StagesApi(DEFAULT_CONFIG)
|
new StagesApi(DEFAULT_CONFIG)
|
||||||
.stagesInvitationStagesList({
|
.stagesInvitationStagesList({
|
||||||
ordering: "pk",
|
ordering: "name",
|
||||||
noFlows: false,
|
noFlows: false,
|
||||||
})
|
})
|
||||||
.then((stages) => {
|
.then((stages) => {
|
||||||
|
|
|
@ -128,7 +128,7 @@ export class PasswordStageForm extends ModelForm<PasswordStage, string> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation:
|
designation:
|
||||||
FlowsInstancesListDesignationEnum.StageConfiguration,
|
FlowsInstancesListDesignationEnum.StageConfiguration,
|
||||||
})
|
})
|
||||||
|
|
|
@ -143,7 +143,7 @@ export class TenantForm extends ModelForm<Tenant, string> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation:
|
designation:
|
||||||
FlowsInstancesListDesignationEnum.Authentication,
|
FlowsInstancesListDesignationEnum.Authentication,
|
||||||
})
|
})
|
||||||
|
@ -180,7 +180,7 @@ export class TenantForm extends ModelForm<Tenant, string> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation: FlowsInstancesListDesignationEnum.Invalidation,
|
designation: FlowsInstancesListDesignationEnum.Invalidation,
|
||||||
})
|
})
|
||||||
.then((flows) => {
|
.then((flows) => {
|
||||||
|
@ -210,7 +210,7 @@ export class TenantForm extends ModelForm<Tenant, string> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation: FlowsInstancesListDesignationEnum.Recovery,
|
designation: FlowsInstancesListDesignationEnum.Recovery,
|
||||||
})
|
})
|
||||||
.then((flows) => {
|
.then((flows) => {
|
||||||
|
@ -246,7 +246,7 @@ export class TenantForm extends ModelForm<Tenant, string> {
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
ordering: "pk",
|
ordering: "slug",
|
||||||
designation: FlowsInstancesListDesignationEnum.Unenrollment,
|
designation: FlowsInstancesListDesignationEnum.Unenrollment,
|
||||||
})
|
})
|
||||||
.then((flows) => {
|
.then((flows) => {
|
||||||
|
|
Reference in a new issue