iptdevs-design-system 3.1.4382 → 3.1.4384

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,21 @@ 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) {
6343
+ console.log('llegue aqui changes[user] && this.user');
6344
6344
  this.setDataUsers();
6345
- // this.cdRef.detectChanges();
6346
6345
  }
6347
- else {
6348
- console.log('No hay cambios en el usuario');
6346
+ else if (currentUser != this.user) {
6347
+ console.log('llegue aqui currentUser != this.user');
6348
+ this.setDataUsers();
6349
6349
  }
6350
+ // if (currentUser != this.user?) {
6351
+ // console.log('setDataUsers');
6352
+ // this.setDataUsers();
6353
+ // // this.cdRef.detectChanges();
6354
+ // } else {
6355
+ // console.log('No hay cambios en el usuario');
6356
+ // }
6350
6357
  }
6351
6358
  }
6352
6359
  initForm() {