From b3422898882c08f28c4004aef3ec701aff94dd96 Mon Sep 17 00:00:00 2001 From: zain94rif Date: Mon, 5 Jan 2026 10:39:01 +0700 Subject: [PATCH] fix(view): adjustment view page notification --- .../component/ListNotification.jsx | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/pages/notification/component/ListNotification.jsx b/src/pages/notification/component/ListNotification.jsx index ba3c8eb..91c0ecf 100644 --- a/src/pages/notification/component/ListNotification.jsx +++ b/src/pages/notification/component/ListNotification.jsx @@ -64,7 +64,7 @@ const transformNotificationData = (apiData) => { }) + ' WIB' : 'N/A', location: item.plant_sub_section_name || item.device_location || 'Location not specified', - details: item.message_error_issue || 'No details available', + details: item.device_name || '-', link: `/verification-sparepart/${item.notification_error_id}`, // Dummy URL untuk verifikasi spare part subsection: item.plant_sub_section_name || 'N/A', isRead: item.is_read, @@ -396,7 +396,7 @@ const ListNotification = memo(function ListNotification(props) { -
{notification.details} -
+ */} + + + + {notification.details} + + @@ -438,17 +444,10 @@ const ListNotification = memo(function ListNotification(props) { - - - {notification.link} -