Skip to content

Commit

Permalink
Merge pull request #16254 from Pablo200206/messages-fix
Browse files Browse the repository at this point in the history
fix(messages): template not working #16253
  • Loading branch information
cetincakiroglu authored Sep 26, 2024
2 parents e923440 + bfb43b8 commit 00e5f4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/components/messages/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
ViewEncapsulation,
booleanAttribute
} from '@angular/core';
import { Message, MessageService, PrimeTemplate } from 'primeng/api';
import { Message, MessageService, PrimeTemplate, SharedModule } from 'primeng/api';
import { PrimeNGConfig } from 'primeng/api';
import { CheckIcon } from 'primeng/icons/check';
import { ExclamationTriangleIcon } from 'primeng/icons/exclamationtriangle';
Expand Down Expand Up @@ -292,8 +292,8 @@ export class Messages implements AfterContentInit, OnDestroy {
}

@NgModule({
imports: [CommonModule, RippleModule, CheckIcon, InfoCircleIcon, TimesCircleIcon, ExclamationTriangleIcon, TimesIcon],
exports: [Messages],
imports: [CommonModule, RippleModule, CheckIcon, InfoCircleIcon, TimesCircleIcon, ExclamationTriangleIcon, TimesIcon, SharedModule],
exports: [Messages, SharedModule],
declarations: [Messages]
})
export class MessagesModule {}

0 comments on commit 00e5f4c

Please sign in to comment.