iptdevs-design-system 3.1.154 → 3.1.156

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.
@@ -3298,11 +3298,11 @@ class CodFormStepTwoComponent extends CodFormSteps {
3298
3298
  this.getParameters();
3299
3299
  if (changes['initialData']) {
3300
3300
  if (this.initialData != null) {
3301
- if (this.initialData.userStudent[0] != null) {
3302
- this.setDataFromUserHistory();
3301
+ if (this.initialData.student != null) {
3302
+ this.setDataFromPreviusCod();
3303
3303
  }
3304
3304
  else {
3305
- this.setDataFromPreviusCod();
3305
+ this.setDataFromUserHistory();
3306
3306
  }
3307
3307
  }
3308
3308
  }
@@ -3599,11 +3599,11 @@ class CodFormStepThreeComponent extends CodFormSteps {
3599
3599
  if (this.initialData != null) {
3600
3600
  if (this.initialData.parent != null) {
3601
3601
  this.selectNeedAtendant(1);
3602
- if (this.initialData.userStudent[0] != null) {
3603
- this.setDataFromUserHistory();
3602
+ if (this.initialData.student != null) {
3603
+ this.setValueStepThree();
3604
3604
  }
3605
3605
  else {
3606
- this.setValueStepThree();
3606
+ this.setDataFromUserHistory();
3607
3607
  }
3608
3608
  }
3609
3609
  else {
@@ -4312,11 +4312,11 @@ class CodFormStepFiveComponent extends CodFormSteps {
4312
4312
  this.sendFormMsg = 'Crear COD'; // Roles comerciales
4313
4313
  if (changes['initialData']) {
4314
4314
  if (this.initialData != null) {
4315
- if (this.initialData.userStudent[0] != null) {
4316
- this.setDataFromUserHistory();
4315
+ if (this.initialData.student != null) {
4316
+ this.setDataFromPreviusCod();
4317
4317
  }
4318
4318
  else {
4319
- this.setDataFromPreviusCod();
4319
+ this.setDataFromUserHistory();
4320
4320
  }
4321
4321
  }
4322
4322
  }