Skip to content

Commit

Permalink
fix missing translation permission (#7297)
Browse files Browse the repository at this point in the history
fix UI regression Datatable full width
  • Loading branch information
eromano committed Oct 13, 2021
1 parent 3eb7438 commit 40377e0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/content-services/src/lib/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@
"BULK-ROLE": "Set all role to"
},
"LABELS": {
"HIDE": "Hide",
"SHOW": "Show",
"ON": "On",
"OFF": "Off",
"DIRECT-PERMISSIONS": "Directly Applied Permission",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h3 class="adf-inherit-container-header">
[target]="target"
#popOver="adfPopOver"
*ngIf="model.node.permissions.isInheritanceEnabled">
{{ popOver.open ? "Hide" : "Show" }}
{{ (popOver.open ? 'PERMISSION_MANAGER.LABELS.HIDE' : 'PERMISSION_MANAGER.LABELS.SHOW') | translate }}
<mat-icon *ngIf="popOver.open"> keyboard_arrow_up </mat-icon>
<mat-icon *ngIf="!popOver.open"> keyboard_arrow_down </mat-icon>
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ $data-table-cell-min-width--fileSize: $data-table-cell-min-width !default;
.adf-datatable {
overflow-y: scroll;
height: 100%;

.adf-full-width {
width: 100%;
}
}

.adf-datatable-card {
Expand Down

0 comments on commit 40377e0

Please sign in to comment.