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.
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-one/cod-self-form-step-one.component.mjs +11 -6
- package/fesm2015/iptdevs-design-system.mjs +10 -5
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +10 -5
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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 (
|
|
6343
|
-
console.log('setDataUsers');
|
|
6342
|
+
if (changes['user'] && this.user) {
|
|
6344
6343
|
this.setDataUsers();
|
|
6345
|
-
// this.cdRef.detectChanges();
|
|
6346
6344
|
}
|
|
6347
|
-
else {
|
|
6348
|
-
|
|
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() {
|