From 81e52272700e82399d4211bd7a26e4a1e3b8d510 Mon Sep 17 00:00:00 2001 From: charlesgauthereau Date: Wed, 4 Mar 2026 15:44:33 +0100 Subject: [PATCH] fix: modal notification-log-modal.tsx --- .../admin/notifications/logs/notification-log-modal.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/wrappers/dashboard/admin/notifications/logs/notification-log-modal.tsx b/src/components/wrappers/dashboard/admin/notifications/logs/notification-log-modal.tsx index 5866f7ca..3b665432 100644 --- a/src/components/wrappers/dashboard/admin/notifications/logs/notification-log-modal.tsx +++ b/src/components/wrappers/dashboard/admin/notifications/logs/notification-log-modal.tsx @@ -77,6 +77,8 @@ export const NotificationLogModal = ({ }: NotificationLogModalProps) => { const [open, setOpen] = useState(false); + // TODO : to be fixed + // @ts-ignore const payloadError = notificationLog.payload?.error; const troubleshooting = getTroubleshootingForError(payloadError); @@ -125,7 +127,9 @@ export const NotificationLogModal = ({ + {notificationLog.payload && (
+ )}