iptdevs-design-system 3.1.4382 → 3.1.4383

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.
@@ -6339,14 +6339,19 @@ class CodSelfFormStepOneComponent extends CodSelfManagedSteps {
6339
6339
  console.log('currentUser', currentUser);
6340
6340
  console.log('previousUser', previousUser);
6341
6341
  // Verifica si el objeto 'user' actual es diferente al anterior
6342
- if (currentUser != this.user) {
6343
- console.log('setDataUsers');
6342
+ if (changes['user'] && this.user) {
6344
6343
  this.setDataUsers();
6345
- // this.cdRef.detectChanges();
6346
6344
  }
6347
- else {
6348
- console.log('No hay cambios en el usuario');
6345
+ else if (currentUser != this.user) {
6346
+ this.setDataUsers();
6349
6347
  }
6348
+ // if (currentUser != this.user?) {
6349
+ // console.log('setDataUsers');
6350
+ // this.setDataUsers();
6351
+ // // this.cdRef.detectChanges();
6352
+ // } else {
6353
+ // console.log('No hay cambios en el usuario');
6354
+ // }
6350
6355
  }
6351
6356
  }
6352
6357
  initForm() {