iptdevs-design-system 3.1.350 → 3.1.351

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.
@@ -3185,7 +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
- if (changes['initialData'] && this.initialData != null && !this.dataPreviusCodData && !this.isEditCod && this.isRenovation === false) {
3188
+ if (changes['initialData'] && this.initialData != null && this.dataPreviusCodData === null && this.isEditCod === null && this.isRenovation === false && this.courseSelectRenovation === null) {
3189
3189
  this.processData(this.initialData);
3190
3190
  this.cdRef.detectChanges();
3191
3191
  }
@@ -3198,7 +3198,7 @@ class CodFormStepOneComponent extends CodFormSteps {
3198
3198
  this.codFormStepOne.controls['course_modality'].setValue(null);
3199
3199
  this.cdRef.detectChanges();
3200
3200
  }
3201
- if (changes['dataPreviusCodData'] && this.dataPreviusCodData != null && this.isEditCod && this.isRenovation === false) {
3201
+ if (changes['dataPreviusCodData'] && this.dataPreviusCodData != null && this.isEditCod && this.isRenovation === false && this.courseSelectRenovation === null) {
3202
3202
  this.processData(this.dataPreviusCodData);
3203
3203
  if (this.isEditCod && !this.dataPreviusCodData.edit_course_payment) {
3204
3204
  this.isDisabledSel = true;