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.
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-one/cod-self-form-step-one.component.mjs +13 -6
- package/fesm2015/iptdevs-design-system.mjs +12 -5
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +12 -5
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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 (
|
|
6343
|
-
console.log('
|
|
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('
|
|
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() {
|