From be726d6ec2b8c87ff6b0c515d822b513073a21c0 Mon Sep 17 00:00:00 2001 From: Anthony Rimet Date: Tue, 16 Aug 2022 17:29:24 +0200 Subject: [PATCH] Fix: mulitLine for Notifications is not working --- packages/ra-ui-materialui/src/layout/Notification.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ra-ui-materialui/src/layout/Notification.tsx b/packages/ra-ui-materialui/src/layout/Notification.tsx index d5557e3370b..d3e6213f72f 100644 --- a/packages/ra-ui-materialui/src/layout/Notification.tsx +++ b/packages/ra-ui-materialui/src/layout/Notification.tsx @@ -92,7 +92,7 @@ export const Notification = (props: NotificationProps) => { ContentProps={{ className: clsx(NotificationClasses[messageInfo.type || type], { [NotificationClasses.multiLine]: - messageInfo.multiLine || multiLine, + messageInfo.notificationOptions.multiLine || multiLine, }), }} action={