From 9da8aa8a18a4467510e22991817685f2a3f55b16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=A8=20Audrey=20=E2=9C=A8?= Date: Thu, 17 Oct 2024 16:27:25 -0400 Subject: [PATCH] fix disabled forwarder settings --- .../generator/components/src/forwarder-settings.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/tools/generator/components/src/forwarder-settings.component.ts b/libs/tools/generator/components/src/forwarder-settings.component.ts index e5b8aaad35..a91d5a371e 100644 --- a/libs/tools/generator/components/src/forwarder-settings.component.ts +++ b/libs/tools/generator/components/src/forwarder-settings.component.ts @@ -88,7 +88,7 @@ export class ForwarderSettingsComponent implements OnInit, OnDestroy { .subscribe(({ constraints }) => { for (const name in Controls) { const control = this.settings.get(name); - if (configuration.request.includes(control as any)) { + if (configuration.request.includes(name as any)) { control.enable({ emitEvent: false }); control.setValidators( // the configuration's type erasure affects `toValidators` as well