iptdevs-design-system 3.1.361 → 3.1.363
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 -2
- package/fesm2015/iptdevs-design-system.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +6 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3183,6 +3183,11 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3183
3183
|
Nota: la clase CodFormSteps() se encarga de toda la lógica de LS con los pasos del formulario del COD
|
|
3184
3184
|
*/
|
|
3185
3185
|
ngOnChanges(changes) {
|
|
3186
|
+
console.log("initialData", this.initialData);
|
|
3187
|
+
console.log("dataPreviusCodData", this.dataPreviusCodData);
|
|
3188
|
+
console.log("courseSelectRenovation", this.courseSelectRenovation);
|
|
3189
|
+
console.log("isEditCod", this.isEditCod);
|
|
3190
|
+
console.log("isRenovation", this.isRenovation);
|
|
3186
3191
|
this.getParameters();
|
|
3187
3192
|
this.initForm();
|
|
3188
3193
|
this.startLocalStorageWork();
|
|
@@ -3190,7 +3195,7 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3190
3195
|
this.codFormStepOne.controls['course_type'].valueChanges
|
|
3191
3196
|
.subscribe(value => this.communicatorService.setCurrentCourseType(value));
|
|
3192
3197
|
this.communicatorService.setCurrentAgreement(this.localStorageCOD.getCodFormData(1, 'agreement_by_category'));
|
|
3193
|
-
if (changes['initialData'] && this.initialData != null && this.dataPreviusCodData
|
|
3198
|
+
if (changes['initialData'] && this.initialData != null && this.dataPreviusCodData === null && this.isEditCod === false && this.isRenovation === false) {
|
|
3194
3199
|
this.processData(this.initialData);
|
|
3195
3200
|
this.cdRef.detectChanges();
|
|
3196
3201
|
}
|