Skip to content

Commit

Permalink
Fixed #11538 - MenuBar | ng-template won't load, missing internal Sha…
Browse files Browse the repository at this point in the history
…redModule export
  • Loading branch information
cetincakiroglu committed May 24, 2022
1 parent 5e69dfa commit 130091e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/components/menubar/menubar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { NgModule, Component, ElementRef, Input, Renderer2, OnDestroy,ChangeDete
import { CommonModule } from '@angular/common';
import { DomHandler } from 'primeng/dom';
import { ZIndexUtils } from 'primeng/utils';
import { MenuItem, PrimeNGConfig, PrimeTemplate } from 'primeng/api';
import { MenuItem, PrimeNGConfig, PrimeTemplate, SharedModule } from 'primeng/api';
import { RouterModule } from '@angular/router';
import { RippleModule } from 'primeng/ripple';
import { TooltipModule } from 'primeng/tooltip';
Expand Down Expand Up @@ -291,8 +291,8 @@ export class Menubar implements AfterContentInit, OnDestroy {
}

@NgModule({
imports: [CommonModule,RouterModule,RippleModule,TooltipModule],
exports: [Menubar,RouterModule,TooltipModule],
imports: [CommonModule,RouterModule,RippleModule,TooltipModule,SharedModule],
exports: [Menubar,RouterModule,TooltipModule,SharedModule],
declarations: [Menubar,MenubarSub]
})
export class MenubarModule { }

0 comments on commit 130091e

Please sign in to comment.