iptdevs-design-system 3.1.167 → 3.1.168

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,26 +3103,18 @@ class CodFormStepOneComponent extends CodFormSteps {
3103
3103
  this.controls = new CodFormControls().controls[0];
3104
3104
  this.copies = this.copiesService.copies;
3105
3105
  }
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) {
3106
+ ngOnInit() {
3117
3107
  this.getParameters();
3118
3108
  this.initForm();
3119
3109
  this.startLocalStorageWork();
3120
3110
  this.setValuesByLocalStorage();
3121
- console.log(this.courseSelect);
3122
3111
  this.codFormStepOne.controls['course_type'].valueChanges
3123
3112
  .subscribe(value => this.communicatorService.setCurrentCourseType(value));
3124
3113
  this.communicatorService.setCurrentAgreement(this.localStorageCOD.getCodFormData(1, 'agreement_by_category'));
3114
+ }
3115
+ ngOnChanges(changes) {
3125
3116
  if (changes['courseSelect']) {
3117
+ console.log(this.courseSelect);
3126
3118
  if (this.courseSelect != null) {
3127
3119
  console.log(this.courseSelect);
3128
3120
  // if (this.initialData.student != null) {