Refactor NotificationDetailTab component to use strict equality for reminder checks, enhancing clarity in rendering logic for reminder and non-reminder notifications. #48

Merged
bragaz_rexita merged 1 commits from lavoce into main 2026-04-30 09:46:08 +00:00

View File

@@ -362,7 +362,7 @@ const NotificationDetailTab = (props) => {
<Row gutter={[8, 8]}>
{/* Kolom Kiri: Data Kompresor */}
{notification.is_reminder && (
{notification.is_reminder == true && (
<Col xs={24} md={8}>
<div>
<Card hoverable bodyStyle={{ padding: '12px' }}>
@@ -514,8 +514,8 @@ const NotificationDetailTab = (props) => {
</div>
</Col>
)}
{!notification.is_reminder && (
{notification.is_reminder == false && (
<Col xs={24} lg={8}>
<Card
size="small"