diff --git a/components/lib/toast/BaseToast.vue b/components/lib/toast/BaseToast.vue index 7dbe856f1..82247a6cf 100644 --- a/components/lib/toast/BaseToast.vue +++ b/components/lib/toast/BaseToast.vue @@ -110,7 +110,7 @@ const classes = { 'p-toast-message', props.message.styleClass, { - 'p-toast-message-info': props.message.severity === 'info', + 'p-toast-message-info': props.message.severity === 'info' || props.message.severity === undefined, 'p-toast-message-warn': props.message.severity === 'warn', 'p-toast-message-error': props.message.severity === 'error', 'p-toast-message-success': props.message.severity === 'success' diff --git a/components/lib/toast/ToastMessage.vue b/components/lib/toast/ToastMessage.vue index 3c3131117..eac7052fe 100755 --- a/components/lib/toast/ToastMessage.vue +++ b/components/lib/toast/ToastMessage.vue @@ -2,7 +2,7 @@