iptdevs-design-system 3.1.173 → 3.1.175
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 +3 -11
- package/fesm2015/iptdevs-design-system.mjs +2 -10
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +2 -10
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3135,22 +3135,14 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3135
3135
|
console.log(this.initialData);
|
|
3136
3136
|
if (this.initialData != null) {
|
|
3137
3137
|
console.log(this.initialData);
|
|
3138
|
-
// if (this.initialData.student != null) {
|
|
3139
|
-
// this.setDataFromPreviusCod();
|
|
3140
|
-
// }else{
|
|
3141
|
-
// this.setDataFromUserHistory();
|
|
3142
|
-
// }
|
|
3143
3138
|
this.setDataFromUserHistory();
|
|
3144
3139
|
}
|
|
3145
|
-
else {
|
|
3146
|
-
console.log(this.initialData);
|
|
3147
|
-
}
|
|
3148
3140
|
}
|
|
3149
3141
|
}
|
|
3150
3142
|
setDataFromUserHistory() {
|
|
3151
3143
|
this.codFormStepOne.controls['academic_plan'].setValue(this.initialData.course_type.academic_plan.code);
|
|
3152
|
-
this.codFormStepOne.controls['course_type'].setValue(this.initialData.
|
|
3153
|
-
this.codFormStepOne.controls['agreement_by_category'].setValue(this.initialData.
|
|
3144
|
+
this.codFormStepOne.controls['course_type'].setValue(this.initialData.course_type.code);
|
|
3145
|
+
this.codFormStepOne.controls['agreement_by_category'].setValue(this.initialData.agreement.code);
|
|
3154
3146
|
this.codFormStepOne.controls['english_level'].setValue(this.initialData.english_level.code);
|
|
3155
3147
|
this.codFormStepOne.controls['availible_courses'].setValue(this.initialData.code);
|
|
3156
3148
|
}
|