diff --git a/src/components/Global/CardList.jsx b/src/components/Global/CardList.jsx index bf8f373..298ac0c 100644 --- a/src/components/Global/CardList.jsx +++ b/src/components/Global/CardList.jsx @@ -58,34 +58,34 @@ const CardList = ({ style={getCardStyle(fieldColor ? item[fieldColor] : cardColor)} actions={[ showPreviewModal && ( - showPreviewModal(item)} - /> + showPreviewModal(item)} + /> ), showEditModal && ( - showEditModal(item)} - /> + showEditModal(item)} + /> ), showDeleteDialog && ( - showDeleteDialog(item)} - /> + showDeleteDialog(item)} + /> ), - ].filter(Boolean)} // <== Hapus elemen yang undefined + ].filter(Boolean)} // <== Hapus elemen yang undefined >
{column.map((itemCard, index) => ( {!itemCard.hidden && itemCard.title !== 'No' && - itemCard.title !== 'Aksi' && ( + itemCard.title !== 'Action' && (

{itemCard.title}:{' '} {itemCard.render