mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 02:05:41 +01:00
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:
parent
c14c3dbf9e
commit
e4b6a091fd
@ -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>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user