Update user-permissions.component.ts

PRE-PRODUCTION-2026
Mazdak Gibran 5 days ago
parent 3e8c73569e
commit 7b22e638f3

@ -153,7 +153,7 @@ export class UserPermissionsComponent {
if (!(response instanceof HttpErrorResponse)) { if (!(response instanceof HttpErrorResponse)) {
this.i18nService.success(SuccessMessages.SAVED_SUCCESSFULLY, []); this.i18nService.success(SuccessMessages.SAVED_SUCCESSFULLY, []);
this.permission.reset(); this.permission.reset();
this.permission.get('userCode')?.setValue(""); this.permission.get('userCode')?.setValue(null);
this.showPermissions = false; this.showPermissions = false;
this.collapseAll(this.permissions) this.collapseAll(this.permissions)
} }

Loading…
Cancel
Save