Skip to content

Commit

Permalink
reset the save button disabled state, as well as the selected config …
Browse files Browse the repository at this point in the history
…id on initialization of the service edit form
  • Loading branch information
rgallettonf committed Sep 23, 2024
1 parent bd5faa6 commit 3c5dae3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3c5dae3

Please sign in to comment.