iptdevs-design-system 3.1.216 → 3.1.217

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.
@@ -3173,7 +3173,7 @@ class CodFormStepOneComponent extends CodFormSteps {
3173
3173
  this.codFormStepOne.controls['agreement_by_category'].setValue(this.dataPreviusCodData.agreement.code);
3174
3174
  this.codFormStepOne.controls['english_level'].setValue(this.dataPreviusCodData.english_level.code);
3175
3175
  this.codFormStepOne.controls['availible_courses'].setValue(this.dataPreviusCodData.course.code);
3176
- this.codFormStepOne.controls['course_modality'].setValue(this.dataPreviusCodData.course_modality.code);
3176
+ this.codFormStepOne.controls['course_modality'].setValue(this.dataPreviusCodData.course.course_modality.code);
3177
3177
  }
3178
3178
  startLocalStorageWork() {
3179
3179
  this.controls.forEach(control => {
@@ -3975,6 +3975,11 @@ class CodFormStepFourComponent extends CodFormSteps {
3975
3975
  this.controls = new CodFormControls().controls[3];
3976
3976
  }
3977
3977
  ngOnChanges(changes) {
3978
+ this.initForm();
3979
+ this.startLocalStorageWork();
3980
+ this.validateErrors();
3981
+ // this.getCodPricesByAgreement();
3982
+ this.getValuesOfStepOneComponent();
3978
3983
  if (changes['initialData']) {
3979
3984
  if (this.initialData != null) {
3980
3985
  if (this.initialData.cod_price != null) {
@@ -3984,14 +3989,14 @@ class CodFormStepFourComponent extends CodFormSteps {
3984
3989
  }
3985
3990
  }
3986
3991
  }
3987
- ngOnInit() {
3988
- // this.cleanComponent();
3989
- this.initForm();
3990
- this.startLocalStorageWork();
3991
- this.validateErrors();
3992
- // this.getCodPricesByAgreement();
3993
- this.getValuesOfStepOneComponent();
3994
- }
3992
+ // ngOnInit(): void {
3993
+ // // this.cleanComponent();
3994
+ // this.initForm();
3995
+ // this.startLocalStorageWork();
3996
+ // this.validateErrors();
3997
+ // // this.getCodPricesByAgreement();
3998
+ // this.getValuesOfStepOneComponent();
3999
+ // }
3995
4000
  getValuesOfStepOneComponent() {
3996
4001
  // Tipo de curso seleccionado
3997
4002
  this.communicatorService.getSelectedCourseType().subscribe(value => {