From bfb43b8369eba45c056f2613f525fe375b982735 Mon Sep 17 00:00:00 2001 From: Pablo200206 Date: Fri, 16 Aug 2024 18:45:55 +0200 Subject: [PATCH] fix --- src/app/components/messages/messages.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/components/messages/messages.ts b/src/app/components/messages/messages.ts index 7241efdeee8..552180b501e 100644 --- a/src/app/components/messages/messages.ts +++ b/src/app/components/messages/messages.ts @@ -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'; @@ -287,8 +287,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 {}