iptdevs-design-system 3.1.369 → 3.1.371
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.
- package/esm2020/lib/cod/steps/cod-form-step-one/cod-form-step-one.component.mjs +11 -8
- package/fesm2015/iptdevs-design-system.mjs +11 -8
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +10 -7
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3197,9 +3197,10 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3197
3197
|
this.communicatorService.setCurrentAgreement(this.localStorageCOD.getCodFormData(1, 'agreement_by_category'));
|
|
3198
3198
|
if (changes['initialData'] && this.initialData != null && this.dataPreviusCodData === null && this.isEditCod === false && this.isRenovation === false) {
|
|
3199
3199
|
this.processData(this.initialData);
|
|
3200
|
-
this.cdRef.detectChanges();
|
|
3200
|
+
// this.cdRef.detectChanges();
|
|
3201
3201
|
}
|
|
3202
3202
|
else {
|
|
3203
|
+
console.log("llegue aqui por alguna razon del la condicion");
|
|
3203
3204
|
this.codFormStepOne.controls['academic_plan'].setValue(null);
|
|
3204
3205
|
this.codFormStepOne.controls['course_type'].setValue(null);
|
|
3205
3206
|
this.codFormStepOne.controls['agreement_by_category'].setValue(null);
|
|
@@ -3266,12 +3267,14 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3266
3267
|
}
|
|
3267
3268
|
}
|
|
3268
3269
|
setDataFromUserHistory() {
|
|
3269
|
-
this.
|
|
3270
|
-
this.
|
|
3271
|
-
this.codFormStepOne.controls['
|
|
3272
|
-
this.codFormStepOne.controls['
|
|
3273
|
-
this.codFormStepOne.controls['
|
|
3274
|
-
this.codFormStepOne.controls['
|
|
3270
|
+
this.getAgreementByPlan(this.initialData.course_type?.academic_plan.code);
|
|
3271
|
+
this.getCourseType(this.initialData.course_type?.academic_plan.code);
|
|
3272
|
+
this.codFormStepOne.controls['academic_plan'].setValue(this.initialData.course_type.academic_plan.code);
|
|
3273
|
+
this.codFormStepOne.controls['course_type'].setValue(this.initialData.course_type.code);
|
|
3274
|
+
this.codFormStepOne.controls['agreement_by_category'].setValue(this.initialData.agreement.code);
|
|
3275
|
+
this.codFormStepOne.controls['english_level'].setValue(this.initialData.english_level.code);
|
|
3276
|
+
this.codFormStepOne.controls['availible_courses'].setValue(this.initialData.code);
|
|
3277
|
+
this.codFormStepOne.controls['course_modality'].setValue(this.initialData.course_modality.code);
|
|
3275
3278
|
this.getAvailibleCourses();
|
|
3276
3279
|
}
|
|
3277
3280
|
setDataFromEditCodHistory() {
|