iptdevs-design-system 3.1.4380 → 3.1.4382

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.
@@ -6336,8 +6336,10 @@ class CodSelfFormStepOneComponent extends CodSelfManagedSteps {
6336
6336
  if (changes['user']) {
6337
6337
  const currentUser = changes['user'].currentValue;
6338
6338
  const previousUser = changes['user'].previousValue;
6339
+ console.log('currentUser', currentUser);
6340
+ console.log('previousUser', previousUser);
6339
6341
  // Verifica si el objeto 'user' actual es diferente al anterior
6340
- if (!this.areEqualUsers(currentUser, previousUser)) {
6342
+ if (currentUser != this.user) {
6341
6343
  console.log('setDataUsers');
6342
6344
  this.setDataUsers();
6343
6345
  // this.cdRef.detectChanges();
@@ -6347,12 +6349,6 @@ class CodSelfFormStepOneComponent extends CodSelfManagedSteps {
6347
6349
  }
6348
6350
  }
6349
6351
  }
6350
- areEqualUsers(user1, user2) {
6351
- // Implementa la lógica para comparar los valores relevantes de los objetos 'user'
6352
- // Aquí puedes comparar las propiedades relevantes para determinar si son iguales o no
6353
- // Por ejemplo:
6354
- return JSON.stringify(user1) === JSON.stringify(user2);
6355
- }
6356
6352
  initForm() {
6357
6353
  this.codSelfFormStepOne = this.fb.group({
6358
6354
  student_name: ['', [Validators.required]],