diff --git a/src/pages/contact/component/DetailContact.jsx b/src/pages/contact/component/DetailContact.jsx
index 3b6b873..d682381 100644
--- a/src/pages/contact/component/DetailContact.jsx
+++ b/src/pages/contact/component/DetailContact.jsx
@@ -251,7 +251,8 @@ const DetailContact = memo(function DetailContact(props) {
style={{ color: formData.is_active ? '#000000' : '#ff4d4f' }}
/>
-
{/* Type Badge - Top Left */}
-
+ {/*
{contact.contact_type === 'operator' ? 'Operator' : contact.contact_type === 'gudang' ? 'Gudang' : 'Unknown'}
-
+
*/}
- {/* Status Badge - Top Right */}
-
- {contact.status === 'active' ? (
-
- Active
-
- ) : (
-
- InActive
-
- )}
+ {/* Status Slider - Top Right */}
+
+
+
+
+ {contact.status === 'active' ? 'Active' : 'Inactive'}
+
+
{/* Main Content */}
@@ -316,7 +368,7 @@ const ListContact = memo(function ListContact(props) {
{
const value = e.target.value;
@@ -382,7 +434,8 @@ const ListContact = memo(function ListContact(props) {
marginBottom: '16px',
}}
>
-
+ /> */}
{getFilteredContacts().length === 0 ? (
@@ -423,6 +476,7 @@ const ListContact = memo(function ListContact(props) {
}}
showEditModal={showEditModal}
showDeleteModal={showDeleteModal}
+ onStatusToggle={fetchContacts}
/>
))}