Skip to content

Commit

Permalink
Merge pull request #15812 from primefaces/issue-15781
Browse files Browse the repository at this point in the history
Fixed #15781 - p-menu | pTemplate not working for p-menu alone
  • Loading branch information
cetincakiroglu authored Jun 13, 2024
2 parents 3ec0e87 + c315ea9 commit 47fa80b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/components/menu/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
} from '@angular/core';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import { RouterModule } from '@angular/router';
import { MenuItem, OverlayService, PrimeNGConfig, PrimeTemplate } from 'primeng/api';
import { MenuItem, OverlayService, PrimeNGConfig, PrimeTemplate, SharedModule } from 'primeng/api';
import { ConnectedOverlayScrollHandler, DomHandler } from 'primeng/dom';
import { RippleModule } from 'primeng/ripple';
import { TooltipModule } from 'primeng/tooltip';
Expand Down Expand Up @@ -824,8 +824,8 @@ export class Menu implements OnDestroy {
}

@NgModule({
imports: [CommonModule, RouterModule, RippleModule, TooltipModule],
exports: [Menu, RouterModule, TooltipModule],
imports: [CommonModule, RouterModule, RippleModule, TooltipModule, SharedModule],
exports: [Menu, RouterModule, TooltipModule, SharedModule],
declarations: [Menu, MenuItemContent, SafeHtmlPipe]
})
export class MenuModule {}

0 comments on commit 47fa80b

Please sign in to comment.