From 4c5f6b7e5cd33668c2731714c611108e44229af1 Mon Sep 17 00:00:00 2001 From: Fachba Date: Thu, 30 Apr 2026 16:20:45 +0700 Subject: [PATCH] Refactor NotificationDetailTab component to use strict equality for reminder checks, enhancing clarity in rendering logic for reminder and non-reminder notifications. --- src/pages/notificationDetail/IndexNotificationDetail.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/notificationDetail/IndexNotificationDetail.jsx b/src/pages/notificationDetail/IndexNotificationDetail.jsx index 7f55bc9..b4d3bf5 100644 --- a/src/pages/notificationDetail/IndexNotificationDetail.jsx +++ b/src/pages/notificationDetail/IndexNotificationDetail.jsx @@ -362,7 +362,7 @@ const NotificationDetailTab = (props) => { {/* Kolom Kiri: Data Kompresor */} - {notification.is_reminder && ( + {notification.is_reminder == true && (
@@ -514,8 +514,8 @@ const NotificationDetailTab = (props) => {
)} - - {!notification.is_reminder && ( + + {notification.is_reminder == false && (