iptdevs-design-system 3.2.3 → 3.2.5

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.
@@ -1902,6 +1902,7 @@ class updateUserFormComponent {
1902
1902
  { name: 'Suspensión o reactivación de cuenta', code: 7 },
1903
1903
  { name: 'Otro', code: 8 }
1904
1904
  ];
1905
+ this.setRoles();
1905
1906
  this.initForm();
1906
1907
  this.initConfirmForm();
1907
1908
  this.validationUserRole();
@@ -1910,7 +1911,6 @@ class updateUserFormComponent {
1910
1911
  this.getParameters();
1911
1912
  this.trackIdTypeChanges();
1912
1913
  this.setJustifyOptions();
1913
- this.setRoles();
1914
1914
  }
1915
1915
  ngOnChanges(changes) {
1916
1916
  if (changes['visibleModal'] && changes['visibleModal'].currentValue) {
@@ -2024,6 +2024,8 @@ class updateUserFormComponent {
2024
2024
  this.setParameters();
2025
2025
  this.initializeForm();
2026
2026
  this.trackIdTypeChanges();
2027
+ this.validationUserRole();
2028
+ this.setRoles();
2027
2029
  this.cdr.detectChanges();
2028
2030
  this.pendingInit = false;
2029
2031
  },
@@ -2244,6 +2246,7 @@ class updateUserFormComponent {
2244
2246
  }
2245
2247
  this.selectGender(this.DataStudent.gender);
2246
2248
  }
2249
+ this.cdr.detectChanges();
2247
2250
  }
2248
2251
  }
2249
2252
  validationUserRole() {