iptdevs-design-system 3.1.176 → 3.1.178
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 +4 -7
- package/fesm2015/iptdevs-design-system.mjs +3 -6
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +3 -6
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3124,10 +3124,10 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3124
3124
|
Nota: la clase CodFormSteps() se encarga de toda la lógica de LS con los pasos del formulario del COD
|
|
3125
3125
|
*/
|
|
3126
3126
|
ngOnChanges(changes) {
|
|
3127
|
-
|
|
3127
|
+
this.getParameters();
|
|
3128
3128
|
this.initForm();
|
|
3129
3129
|
this.startLocalStorageWork();
|
|
3130
|
-
|
|
3130
|
+
this.setValuesByLocalStorage();
|
|
3131
3131
|
this.codFormStepOne.controls['course_type'].valueChanges
|
|
3132
3132
|
.subscribe(value => this.communicatorService.setCurrentCourseType(value));
|
|
3133
3133
|
this.communicatorService.setCurrentAgreement(this.localStorageCOD.getCodFormData(1, 'agreement_by_category'));
|
|
@@ -3136,10 +3136,7 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3136
3136
|
if (this.initialData != null) {
|
|
3137
3137
|
console.log(this.initialData);
|
|
3138
3138
|
this.setDataFromUserHistory();
|
|
3139
|
-
|
|
3140
|
-
else {
|
|
3141
|
-
this.getParameters();
|
|
3142
|
-
this.setValuesByLocalStorage();
|
|
3139
|
+
this.getAgreementByPlan(this.initialData.course_type.academic_plan.code);
|
|
3143
3140
|
}
|
|
3144
3141
|
}
|
|
3145
3142
|
}
|