RED-8711 - fixed toaster message

This commit is contained in:
Valentin Mihai 2024-04-15 18:48:46 +03:00
parent 022a7985d4
commit ecf20fbf1b

View File

@ -105,7 +105,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: