Skip to content

Commit

Permalink
Fix icon templates
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Apr 20, 2023
1 parent 585e153 commit b34d8ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/components/treeselect/treeselect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@ export const TREESELECT_VALUE_ACCESSOR: any = {
<ng-container *ngTemplateOutlet="emptyTemplate"></ng-container>
</ng-template>
</ng-container>
<ng-template pTemplate="togglericon" let-expanded>
<ng-template pTemplate="togglericon" let-expanded *ngIf="itemTogglerIconTemplate">
<ng-container *ngTemplateOutlet="itemTogglerIconTemplate; context: { $implicit: expanded }"></ng-container>
</ng-template>
<ng-template pTemplate="checkboxicon" let-selected let-partialSelected="partialSelected">
<ng-container *ngTemplateOutlet="itemCheckboxIconTemplate; context: { $implicit: selected, partialSelected: partialSelected }"></ng-container>
<ng-template pTemplate="checkboxicon" *ngIf="itemCheckboxIconTemplate">
<ng-template *ngTemplateOutlet="itemCheckboxIconTemplate"></ng-template>
</ng-template>
<ng-template pTemplate="loadingicon">
<ng-template pTemplate="loadingicon" *ngIf="itemLoadingIconTemplate">
<ng-container *ngTemplateOutlet="itemLoadingIconTemplate"></ng-container>
</ng-template>
</p-tree>
Expand Down

1 comment on commit b34d8ad

@cetincakiroglu
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed #12925

Please sign in to comment.