From 63a28ca1e9d41d98535db35fa2c348822fe2eec2 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 26 Jun 2021 19:33:20 +0200 Subject: [PATCH] web/admin: fix only recovery flows being selectable for unenrollment flow in tenant form Signed-off-by: Jens Langhammer --- web/src/pages/tenants/TenantForm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/tenants/TenantForm.ts b/web/src/pages/tenants/TenantForm.ts index 07b4f895f..200c3619e 100644 --- a/web/src/pages/tenants/TenantForm.ts +++ b/web/src/pages/tenants/TenantForm.ts @@ -150,7 +150,7 @@ export class TenantForm extends ModelForm { ${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({ ordering: "pk", - designation: FlowsInstancesListDesignationEnum.Recovery, + designation: FlowsInstancesListDesignationEnum.Unenrollment, }).then(flows => { return flows.results.map(flow => { const selected = this.instance?.flowUnenrollment === flow.pk;