Fix Default Horizontal Scrollbar in Replication Page (#21033)

* fix default scrollbar in replication page

Signed-off-by: bupd <bupdprasanth@gmail.com>

* update replication table columns

* updates replication hidden columns order.

Signed-off-by: bupd <bupdprasanth@gmail.com>

---------

Signed-off-by: bupd <bupdprasanth@gmail.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
This commit is contained in:
Prasanth B 2024-10-22 15:02:48 +05:30 committed by GitHub
parent c14c3dbf9e
commit e4b6a091fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View File

@ -121,21 +121,21 @@
{{ 'REPLICATION.DES_REPO_FLATTENING' | translate }} {{ 'REPLICATION.DES_REPO_FLATTENING' | translate }}
</ng-template> </ng-template>
</clr-dg-column> </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'"> <clr-dg-column [clrDgSortBy]="'speed'">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[7] }"> <ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[6] }">
{{ 'REPLICATION.BANDWIDTH' | translate }} {{ 'REPLICATION.BANDWIDTH' | translate }}
</ng-template> </ng-template>
</clr-dg-column> </clr-dg-column>
<clr-dg-column [clrDgField]="'description'"> <clr-dg-column [clrDgField]="'description'">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[8] }"> <ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[7] }">
{{ 'REPLICATION.DESCRIPTION' | translate }} {{ 'REPLICATION.DESCRIPTION' | translate }}
</ng-template> </ng-template>
</clr-dg-column> </clr-dg-column>
<clr-dg-column>
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[8] }">
{{ 'REPLICATION.REPLICATION_TRIGGER' | translate }}
</ng-template>
</clr-dg-column>
<clr-dg-placeholder>{{ <clr-dg-placeholder>{{
'REPLICATION.PLACEHOLDER' | translate 'REPLICATION.PLACEHOLDER' | translate
}}</clr-dg-placeholder> }}</clr-dg-placeholder>

View File

@ -100,7 +100,7 @@ export class ListReplicationRuleComponent implements OnInit, OnDestroy {
paused: boolean = false; paused: boolean = false;
hiddenArray: boolean[] = getHiddenArrayFromLocalStorage( hiddenArray: boolean[] = getHiddenArrayFromLocalStorage(
PageSizeMapKeys.LIST_REPLICATION_RULE_COMPONENT, 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') @ViewChild('datagrid')
datagrid: ClrDatagrid; datagrid: ClrDatagrid;