iptdevs-design-system 3.1.166 → 3.1.167

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3103,7 +3103,17 @@ class CodFormStepOneComponent extends CodFormSteps {
3103
3103
  this.controls = new CodFormControls().controls[0];
3104
3104
  this.copies = this.copiesService.copies;
3105
3105
  }
3106
- ngOnInit() {
3106
+ // ngOnInit(): void {
3107
+ // this.getParameters();
3108
+ // this.initForm();
3109
+ // this.startLocalStorageWork();
3110
+ // this.setValuesByLocalStorage()
3111
+ // console.log(this.courseSelect);
3112
+ // this.codFormStepOne.controls['course_type'].valueChanges
3113
+ // .subscribe(value => this.communicatorService.setCurrentCourseType(value));
3114
+ // this.communicatorService.setCurrentAgreement(this.localStorageCOD.getCodFormData(1, 'agreement_by_category')!);
3115
+ // }
3116
+ ngOnChanges(changes) {
3107
3117
  this.getParameters();
3108
3118
  this.initForm();
3109
3119
  this.startLocalStorageWork();
@@ -3112,8 +3122,6 @@ class CodFormStepOneComponent extends CodFormSteps {
3112
3122
  this.codFormStepOne.controls['course_type'].valueChanges
3113
3123
  .subscribe(value => this.communicatorService.setCurrentCourseType(value));
3114
3124
  this.communicatorService.setCurrentAgreement(this.localStorageCOD.getCodFormData(1, 'agreement_by_category'));
3115
- }
3116
- ngOnChanges(changes) {
3117
3125
  if (changes['courseSelect']) {
3118
3126
  if (this.courseSelect != null) {
3119
3127
  console.log(this.courseSelect);