|
|
|
@ -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)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|