Skip to content

Commit

Permalink
Sub to changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mutugiii committed Nov 13, 2024
1 parent 2ef91e0 commit bb66926
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/configuration/configuration.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ export class ConfigurationComponent implements OnInit {
phoneNumber: [ '', CustomValidators.required ]
});
this.getNationList();
// Watch for changes to the devNation checkbox
this.configurationFormGroup.get('devNation').valueChanges.subscribe(() => {
this.getNationList();
});
}

initUpdate() {
Expand Down

0 comments on commit bb66926

Please sign in to comment.