iptdevs-design-system 3.1.369 → 3.1.370
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 +10 -8
- package/fesm2015/iptdevs-design-system.mjs +10 -8
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +9 -7
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3197,7 +3197,7 @@ 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
3203
|
this.codFormStepOne.controls['academic_plan'].setValue(null);
|
|
@@ -3266,12 +3266,14 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3266
3266
|
}
|
|
3267
3267
|
}
|
|
3268
3268
|
setDataFromUserHistory() {
|
|
3269
|
-
this.
|
|
3270
|
-
this.
|
|
3271
|
-
this.codFormStepOne.controls['
|
|
3272
|
-
this.codFormStepOne.controls['
|
|
3273
|
-
this.codFormStepOne.controls['
|
|
3274
|
-
this.codFormStepOne.controls['
|
|
3269
|
+
this.getAgreementByPlan(this.initialData.course_type?.academic_plan.code);
|
|
3270
|
+
this.getCourseType(this.initialData.course_type?.academic_plan.code);
|
|
3271
|
+
this.codFormStepOne.controls['academic_plan'].setValue(this.initialData.course_type.academic_plan.code);
|
|
3272
|
+
this.codFormStepOne.controls['course_type'].setValue(this.initialData.course_type.code);
|
|
3273
|
+
this.codFormStepOne.controls['agreement_by_category'].setValue(this.initialData.agreement.code);
|
|
3274
|
+
this.codFormStepOne.controls['english_level'].setValue(this.initialData.english_level.code);
|
|
3275
|
+
this.codFormStepOne.controls['availible_courses'].setValue(this.initialData.code);
|
|
3276
|
+
this.codFormStepOne.controls['course_modality'].setValue(this.initialData.course_modality.code);
|
|
3275
3277
|
this.getAvailibleCourses();
|
|
3276
3278
|
}
|
|
3277
3279
|
setDataFromEditCodHistory() {
|