iptdevs-design-system 3.1.175 → 3.1.176
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 +7 -3
- package/fesm2015/iptdevs-design-system.mjs +6 -2
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +6 -2
- 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
|
-
this.getParameters();
|
|
3127
|
+
// this.getParameters();
|
|
3128
3128
|
this.initForm();
|
|
3129
3129
|
this.startLocalStorageWork();
|
|
3130
|
-
this.setValuesByLocalStorage()
|
|
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'));
|
|
@@ -3137,6 +3137,10 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3137
3137
|
console.log(this.initialData);
|
|
3138
3138
|
this.setDataFromUserHistory();
|
|
3139
3139
|
}
|
|
3140
|
+
else {
|
|
3141
|
+
this.getParameters();
|
|
3142
|
+
this.setValuesByLocalStorage();
|
|
3143
|
+
}
|
|
3140
3144
|
}
|
|
3141
3145
|
}
|
|
3142
3146
|
setDataFromUserHistory() {
|