RED-8711 - fixed toaster message

This commit is contained in:
Valentin Mihai 2024-04-15 18:57:24 +03:00
parent f3697a27ef
commit 7612d524da

View File

@ -102,7 +102,7 @@ export class Toaster {
notificationType = NotificationType.INFO,
options?: Partial<ToasterOptions>,
): ActiveToast<unknown> {
const translatedMsg = this._translateService.instant(message, options?.params) as string;
const translatedMsg = options?.useRaw ? message : (this._translateService.instant(message, options?.params) as string);
switch (notificationType) {
case NotificationType.SUCCESS: