Skip to content

Commit

Permalink
Fixed #13750 - Remove wrong class from close icon
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Sep 26, 2023
1 parent 73b9503 commit 5edd8a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/treeselect/treeselect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ export const TREESELECT_VALUE_ACCESSOR: any = {
</span>
</div>
<button class="p-treeselect-close p-link" (click)="hide()">
<TimesIcon *ngIf="!closeIconTemplate" [styleClass]="'p-treeselect-filter-icon'" />
<span *ngIf="closeIconTemplate" class="p-treeselect-filter-icon">
<TimesIcon *ngIf="!closeIconTemplate"/>
<span *ngIf="closeIconTemplate">
<ng-template *ngTemplateOutlet="closeIconTemplate"></ng-template>
</span>
</button>
Expand Down

0 comments on commit 5edd8a7

Please sign in to comment.