iptdevs-design-system 3.2.5 → 3.2.6

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.
@@ -2487,7 +2487,8 @@ class updateUserFormComponent {
2487
2487
  originalValue = this.DataStudent.city?.code || '';
2488
2488
  break;
2489
2489
  case 'role':
2490
- originalValue = this.transformRole(this.DataStudent.role) || '';
2490
+ // originalValue = this.transformRole(this.DataStudent.role) || '';
2491
+ originalValue = this.canEditRole ? this.DataStudent.role : this.transformRole(this.DataStudent.role) || '';
2491
2492
  break;
2492
2493
  case 'service_hour':
2493
2494
  originalValue = this.DataStudent.service_hour;