iptdevs-design-system 3.1.352 → 3.1.354
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 -8
- package/fesm2015/iptdevs-design-system.mjs +2 -7
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +2 -7
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3185,12 +3185,7 @@ 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
|
-
|
|
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) {
|
|
3188
|
+
if (changes['initialData'] && this.initialData != null && this.dataPreviusCodData == null && this.isEditCod === false && this.isRenovation === false) {
|
|
3194
3189
|
this.processData(this.initialData);
|
|
3195
3190
|
this.cdRef.detectChanges();
|
|
3196
3191
|
}
|
|
@@ -3203,7 +3198,7 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3203
3198
|
this.codFormStepOne.controls['course_modality'].setValue(null);
|
|
3204
3199
|
this.cdRef.detectChanges();
|
|
3205
3200
|
}
|
|
3206
|
-
if (changes['dataPreviusCodData'] && this.dataPreviusCodData != null && this.isEditCod && this.isRenovation === false
|
|
3201
|
+
if (changes['dataPreviusCodData'] && this.dataPreviusCodData != null && this.isEditCod && this.isRenovation === false) {
|
|
3207
3202
|
this.processData(this.dataPreviusCodData);
|
|
3208
3203
|
if (this.isEditCod && !this.dataPreviusCodData.edit_course_payment) {
|
|
3209
3204
|
this.isDisabledSel = true;
|