From d211bb792420f02119f9f48bb79a5f8b26038011 Mon Sep 17 00:00:00 2001 From: ivan-sim Date: Thu, 17 Oct 2024 15:09:10 +0700 Subject: [PATCH] Update --- .../src/sections/dashboardApotek/TableList.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/hospital-portal/src/sections/dashboardApotek/TableList.tsx b/frontend/hospital-portal/src/sections/dashboardApotek/TableList.tsx index 02fce5c7..1a13577a 100644 --- a/frontend/hospital-portal/src/sections/dashboardApotek/TableList.tsx +++ b/frontend/hospital-portal/src/sections/dashboardApotek/TableList.tsx @@ -289,12 +289,13 @@ export default function TableList() { label: localeData.txtPrescriptionPharmacy, isSort: true, }, - { + // Conditionally include button_accept if the role is 'admin-apotek' + ...(formattedRoleName === 'cs-lms' ? [{ id: 'phone_apotek', align: 'center', label: localeData.txtPrescriptionPharmacyPhone, - isSort: true, - }, + isSort: false, + }] : []), { id: 'status', align: 'center',