domainRole = roleService.getRole(user.getOrgUserId(), role.getId());
domainRole.setName(role.getName());
domainRole.setPriority(role.getPriority());
+ domainRole.setActive(role.getActive());
} else {
doAuditLog("saveRole: creating new role", role.getName());
<h1 class="heading-page">Roles</h1>
<span class= "heading-small" *ngIf="isAppCentralized=='true'"><b>Please go to portal to Manage Roles.</b></span>
</div>
- <button type="button" *ngIf="isAppCentralized=='false'" style="float: right;" class="btn btn-primary" (click)="openAddNewRoleModal('')">
+
+ <button type="button" *ngIf="isAppCentralized=='false'" class="btn btn-primary new-role-button" (click)="openAddNewRoleModal('')">
<i class="icon ion-md-person-add"></i>Add New Role
</button>
- <span class="heading-small" *ngIf="isAppCentralized=='false'">Click on a Role to view its details.</span>
+
<span class="ecomp-spinner" *ngIf="showSpinner"></span>
+
+ <div class="role-search">
+ <mat-form-field>
+ <input matInput type="text" (keyup)="applyFilter($event.target.value)" placeholder="Search in entire table">
+ </mat-form-field>
+ </div>
<table mat-table [dataSource]="dataSource" matSort>
<ng-container matColumnDef="name">