From 3c5dae333b088551259247a2b764376f9c56b23d Mon Sep 17 00:00:00 2001 From: Ryan Galletto Date: Mon, 23 Sep 2024 18:38:47 -0400 Subject: [PATCH] reset the save button disabled state, as well as the selected config id on initialization of the service edit form --- .../projectable-forms/service/service-form.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/ziti-console-lib/src/lib/features/projectable-forms/service/service-form.component.ts b/projects/ziti-console-lib/src/lib/features/projectable-forms/service/service-form.component.ts index 3d699aad..9c99694e 100644 --- a/projects/ziti-console-lib/src/lib/features/projectable-forms/service/service-form.component.ts +++ b/projects/ziti-console-lib/src/lib/features/projectable-forms/service/service-form.component.ts @@ -116,6 +116,8 @@ export class ServiceFormComponent extends ProjectableForm implements OnInit, OnC override ngOnInit(): void { super.ngOnInit(); + this.svc.saveDisabled = false; + this.svc.selectedConfigId = undefined; this.subscription.add( this.settingsService.settingsChange.subscribe((results:any) => { this.settings = results;