mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-28 13:15:33 +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 }}
|
{{ '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>
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user