iptdevs-design-system 3.2.12 → 3.2.13

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.
@@ -2252,10 +2252,10 @@ class updateUserFormComponent {
2252
2252
  }
2253
2253
  validationUserRole() {
2254
2254
  const userRole = this.baseService.getUserRole();
2255
- if (userRole == 40 || userRole == 41 || userRole == 42) {
2255
+ if (userRole == 40 || userRole == 41 || userRole == 42 && this.isStudent) {
2256
2256
  this.userRoleCommercial = true;
2257
2257
  }
2258
- else {
2258
+ else if (userRole == 40 || userRole == 41 || userRole == 42 && !this.isStudent) {
2259
2259
  this.userRoleCommercial = false;
2260
2260
  }
2261
2261
  this.canEditRole = userRole === 1 || userRole === 30;