Skip to content

Commit

Permalink
fix: primefaces#13637 || Component: Panelmenu SubMenus not supported …
Browse files Browse the repository at this point in the history
…HTML content primefaces#13637
  • Loading branch information
ashikjs committed Sep 18, 2023
1 parent c83861c commit 8d98f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/panelmenu/panelmenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ import { ObjectUtils, UniqueComponentId } from 'primeng/utils';
<ng-template *ngTemplateOutlet="panelMenu.submenuIconTemplate"></ng-template>
</ng-container>
<span class="p-menuitem-icon" [ngClass]="processedItem.icon" *ngIf="processedItem.icon" [ngStyle]="getItemProp(processedItem, 'iconStyle')"></span>
<span class="p-menuitem-text" *ngIf="processedItem.escape !== false; else htmlLabel">{{ getItemProp(processedItem, 'label') }}</span>
<span class="p-menuitem-text" *ngIf="processedItem.item?.escape !== false; else htmlLabel">{{ getItemProp(processedItem, 'label') }}</span>
<ng-template #htmlLabel><span class="p-menuitem-text" [innerHTML]="getItemProp(processedItem, 'label')"></span></ng-template>
<span class="p-menuitem-badge" *ngIf="processedItem.badge" [ngClass]="processedItem.badgeStyleClass">{{ processedItem.badge }}</span>
</a>
Expand Down

0 comments on commit 8d98f7e

Please sign in to comment.