Skip to content

Commit

Permalink
Correct the hidden property for clrDgHideableColumn
Browse files Browse the repository at this point in the history
1.Fixes #18870

Signed-off-by: AllForNothing <[email protected]>
  • Loading branch information
AllForNothing committed Jul 5, 2023
1 parent 1d2624e commit 6f41eeb
Showing 1 changed file with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,48 +149,47 @@
</ng-template>
</clr-dg-column>
<clr-dg-column *ngIf="depth">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[2] }">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[1] }">
{{ 'REPOSITORY.PLATFORM' | translate }}
</ng-template>
</clr-dg-column>
<clr-dg-column>
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[3] }">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[2] }">
{{ 'REPOSITORY.TAGS' | translate }}
</ng-template>
</clr-dg-column>
<clr-dg-column class="co-signed-column">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[4] }">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[3] }">
{{ 'ACCESSORY.CO_SIGNED' | translate }}
</ng-template>
</clr-dg-column>
<clr-dg-column [clrDgSortBy]="'size'">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[5] }">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[4] }">
{{ 'REPOSITORY.SIZE' | translate }}
</ng-template>
</clr-dg-column>
<clr-dg-column class="vul-column">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[6] }">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[5] }">
{{ 'REPOSITORY.VULNERABILITY' | translate }}
</ng-template>
</clr-dg-column>
<clr-dg-column class="annotations-column">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[7] }">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[6] }">
{{ 'ARTIFACT.ANNOTATION' | translate }}
</ng-template>
</clr-dg-column>
<clr-dg-column>
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[8] }">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[7] }">
{{ 'REPOSITORY.LABELS' | translate }}
</ng-template>
</clr-dg-column>
<clr-dg-column [clrDgSortBy]="pushComparator">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[9] }">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[8] }">
{{ 'REPOSITORY.PUSH_TIME' | translate }}
</ng-template>
</clr-dg-column>
<clr-dg-column [clrDgSortBy]="pullComparator">
<ng-template
[clrDgHideableColumn]="{ hidden: hiddenArray[10] }">
<ng-template [clrDgHideableColumn]="{ hidden: hiddenArray[9] }">
{{ 'REPOSITORY.PULL_TIME' | translate }}
</ng-template>
</clr-dg-column>
Expand Down

0 comments on commit 6f41eeb

Please sign in to comment.