RED-8711 - fixed toaster message
This commit is contained in:
parent
022a7985d4
commit
ecf20fbf1b
@ -105,7 +105,7 @@ export class Toaster {
|
|||||||
notificationType = NotificationType.INFO,
|
notificationType = NotificationType.INFO,
|
||||||
options?: Partial<ToasterOptions>,
|
options?: Partial<ToasterOptions>,
|
||||||
): ActiveToast<unknown> {
|
): 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) {
|
switch (notificationType) {
|
||||||
case NotificationType.SUCCESS:
|
case NotificationType.SUCCESS:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user