Skip to content

Commit

Permalink
fix: add ngIf to columnGroupSelectionDropdown to show the label only …
Browse files Browse the repository at this point in the history
…if columnGroups are defined (onecx#158)
  • Loading branch information
anninowak authored Mar 5, 2024
1 parent a3a009d commit d8fbb39
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@
<ng-template let-item pTemplate="item"> {{ item ? (item | translate) : ''}} </ng-template>
<ng-template let-item pTemplate="selectedItem"> {{ item ? (item | translate) : ''}} </ng-template>
</p-dropdown>
<label for="columnGroupSelectionDropdown">{{ ("OCX_CUSTOM_GROUP_COLUMN_SELECTOR.DROPDOWN_LABEL" | translate) }}</label>
</span>
<label *ngIf="(allGroupKeys$ | async)?.length" for="columnGroupSelectionDropdown"
>{{ ("OCX_CUSTOM_GROUP_COLUMN_SELECTOR.DROPDOWN_LABEL" | translate) }}</label
>
</span>

0 comments on commit d8fbb39

Please sign in to comment.