Skip to content

Commit

Permalink
Fix Default Horizontal Scrollbar in Replication Page (#21033)
Browse files Browse the repository at this point in the history
* fix default scrollbar in replication page

Signed-off-by: bupd <[email protected]>

* update replication table columns

* updates replication hidden columns order.

Signed-off-by: bupd <[email protected]>

---------

Signed-off-by: bupd <[email protected]>
Co-authored-by: Wang Yan <[email protected]>
  • Loading branch information
bupd and wy65701436 authored Oct 22, 2024
1 parent c14c3db commit e4b6a09
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,21 +121,21 @@
{{ 'REPLICATION.DES_REPO_FLATTENING' | translate }}
</ng-template>
</clr-dg-column>
<clr-dg-column>
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[6] }">
{{ 'REPLICATION.REPLICATION_TRIGGER' | translate }}
</ng-template></clr-dg-column
>
<clr-dg-column [clrDgSortBy]="'speed'">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[7] }">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[6] }">
{{ 'REPLICATION.BANDWIDTH' | translate }}
</ng-template>
</clr-dg-column>
<clr-dg-column [clrDgField]="'description'">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[8] }">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[7] }">
{{ 'REPLICATION.DESCRIPTION' | translate }}
</ng-template>
</clr-dg-column>
<clr-dg-column>
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[8] }">
{{ 'REPLICATION.REPLICATION_TRIGGER' | translate }}
</ng-template>
</clr-dg-column>
<clr-dg-placeholder>{{
'REPLICATION.PLACEHOLDER' | translate
}}</clr-dg-placeholder>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class ListReplicationRuleComponent implements OnInit, OnDestroy {
paused: boolean = false;
hiddenArray: boolean[] = getHiddenArrayFromLocalStorage(
PageSizeMapKeys.LIST_REPLICATION_RULE_COMPONENT,
[false, false, false, false, false, false, false, true, true]
[false, false, false, false, false, false, true, true, false]
);
@ViewChild('datagrid')
datagrid: ClrDatagrid;
Expand Down

0 comments on commit e4b6a09

Please sign in to comment.