Skip to content

Commit

Permalink
table colum issue fixed (#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajithmuthukumar-bc authored Apr 12, 2023
1 parent 2bd93ca commit 1e0a664
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/app/components/govuk-table/govuk-table.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<thead class="govuk-table__head">
<tr class="govuk-table__row">
<th *ngFor="let header of headerTextKeys" scope="col" class="govuk-table__header">
{{ header | translate }}
<span [ngClass]="{'hide_dots': header === '.'}">{{ header | translate }}</span>
</th>
<th class="govuk-table__header govuk-link-adjust" *ngIf="hyperArrayVisible == true">.</th>
<th class="govuk-table__header govuk-link-adjust" *ngIf="!isHyperLinkVisible">.</th>
Expand Down Expand Up @@ -92,7 +92,7 @@
</fieldset>
</td>
<td class="tablular" *ngIf="!isHyperLinkVisible">
<a class="tablular" tabindex="0">.</a>
<a class="tablular govuk-table__cell" tabindex="0">.</a>
</td>
</tr>
</tbody>
Expand Down
3 changes: 3 additions & 0 deletions src/app/components/govuk-table/govuk-table.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,7 @@ a {
}
.role_group_table {
padding: 0px 0px 0px 0 !important;
}
.hide_dots{
display: none;
}
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,17 @@ export class ManageGroupOperationSuccessComponent
break;
}
this.titleService.setTitle(`Success - ${area} - Manage Groups - CCS`);
this.getListOfUserRequiredAccess();
this.getUserList()
}

getUserList(){
const isGroupOperation = [this.operationEnum.GroupRoleUpdate, this.operationEnum.GroupAdd,this.operationEnum.GroupUserUpdate].includes(this.operation);
if(isGroupOperation){
this.getListOfUserRequiredAccess();
}
}


onNavigateToGroupClick() {
let data = {
isEdit: true,
Expand Down
4 changes: 2 additions & 2 deletions src/app/pages/user-profile/user-profile-component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export class UserProfileComponent extends FormBaseComponent implements OnInit {
public showRoleView:boolean = environment.appSetting.hideSimplifyRole
submitted!: boolean;
formGroup!: FormGroup;
userGroupTableHeaders = ['GROUPS'];
userGroupColumnsToDisplay = ['group'];
userGroupTableHeaders = ['GROUPS','.','.','.','.','.','.','.','.','.','.','.','.','.','.','.','.'];
userGroupColumnsToDisplay = ['group','','','','','','','','','','','','','','','',''];
userServiceTableHeaders = ['NAME'];
userRoleTableHeaders = ['ROLES', 'SERVICE'];
userServiceColumnsToDisplay = ['accessRoleName',]
Expand Down

0 comments on commit 1e0a664

Please sign in to comment.