iptdevs-design-system 3.1.184 → 3.1.187

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.
@@ -3123,9 +3123,7 @@ class CodFormStepOneComponent extends CodFormSteps {
3123
3123
  .subscribe(value => this.communicatorService.setCurrentCourseType(value));
3124
3124
  this.communicatorService.setCurrentAgreement(this.localStorageCOD.getCodFormData(1, 'agreement_by_category'));
3125
3125
  if (changes['initialData']) {
3126
- console.log(this.initialData);
3127
3126
  if (this.initialData != null) {
3128
- console.log(this.initialData);
3129
3127
  this.getAgreementByPlan(this.initialData.course_type.academic_plan.code);
3130
3128
  this.getCourseType(this.initialData.course_type.academic_plan.code);
3131
3129
  this.codFormStepOne.controls['english_level'].setValue(this.initialData.english_level.code);
@@ -3133,6 +3131,7 @@ class CodFormStepOneComponent extends CodFormSteps {
3133
3131
  this.codFormStepOne.controls['course_type'].setValue(this.initialData.course_type.code);
3134
3132
  this.getAvailibleCourses();
3135
3133
  this.setDataFromUserHistory();
3134
+ this.selectAvailibleCourses(this.initialData);
3136
3135
  }
3137
3136
  }
3138
3137
  }
@@ -3142,6 +3141,7 @@ class CodFormStepOneComponent extends CodFormSteps {
3142
3141
  this.codFormStepOne.controls['agreement_by_category'].setValue(this.initialData.agreement.code);
3143
3142
  this.codFormStepOne.controls['english_level'].setValue(this.initialData.english_level.code);
3144
3143
  this.codFormStepOne.controls['availible_courses'].setValue(this.initialData.code);
3144
+ this.codFormStepOne.controls['course_modality'].setValue(this.initialData.course_modality.code);
3145
3145
  }
3146
3146
  startLocalStorageWork() {
3147
3147
  this.controls.forEach(control => {