iptdevs-design-system 3.1.350 → 3.1.352
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 +8 -3
- package/fesm2015/iptdevs-design-system.mjs +7 -2
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +7 -2
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3185,7 +3185,12 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3185
3185
|
this.codFormStepOne.controls['course_type'].valueChanges
|
|
3186
3186
|
.subscribe(value => this.communicatorService.setCurrentCourseType(value));
|
|
3187
3187
|
this.communicatorService.setCurrentAgreement(this.localStorageCOD.getCodFormData(1, 'agreement_by_category'));
|
|
3188
|
-
|
|
3188
|
+
console.log("initialData", this.initialData);
|
|
3189
|
+
console.log("dataPreviusCodData", this.dataPreviusCodData);
|
|
3190
|
+
console.log("isEditCod", this.isEditCod);
|
|
3191
|
+
console.log("courseSelectRenovation", this.courseSelectRenovation);
|
|
3192
|
+
console.log("isRenovation", this.isRenovation);
|
|
3193
|
+
if (changes['initialData'] && this.initialData != null && this.dataPreviusCodData === null && this.isEditCod === null && this.isRenovation === false && this.courseSelectRenovation === null) {
|
|
3189
3194
|
this.processData(this.initialData);
|
|
3190
3195
|
this.cdRef.detectChanges();
|
|
3191
3196
|
}
|
|
@@ -3198,7 +3203,7 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3198
3203
|
this.codFormStepOne.controls['course_modality'].setValue(null);
|
|
3199
3204
|
this.cdRef.detectChanges();
|
|
3200
3205
|
}
|
|
3201
|
-
if (changes['dataPreviusCodData'] && this.dataPreviusCodData != null && this.isEditCod && this.isRenovation === false) {
|
|
3206
|
+
if (changes['dataPreviusCodData'] && this.dataPreviusCodData != null && this.isEditCod && this.isRenovation === false && this.courseSelectRenovation === null) {
|
|
3202
3207
|
this.processData(this.dataPreviusCodData);
|
|
3203
3208
|
if (this.isEditCod && !this.dataPreviusCodData.edit_course_payment) {
|
|
3204
3209
|
this.isDisabledSel = true;
|