diff --git a/src/component/SupplierComponent.js b/src/component/SupplierComponent.js index 9ab1fa8..70f196d 100644 --- a/src/component/SupplierComponent.js +++ b/src/component/SupplierComponent.js @@ -58,38 +58,42 @@ export const SupplierComponent = observer((props) => { title: "Kode", dataIndex: "code", key: "code", + width: "5%", }, { title: "Saldo", - dataIndex: ["coa","amount"], - key: ["coa","amount"], + dataIndex: ["coa", "amount"], + key: ["coa", "amount"], + width: "20%", }, { title: "Status", dataIndex: "status", key: "status", + width: "5%", render: (text, record) => ( - - {record?.status === true ? " ACTIVE" : "INACTIVE"} - + + {record?.status === true ? " ACTIVE" : "INACTIVE"} + ), }, { title: "Action", key: "action", + width: "20%", render: (text, record) => ( - - - - + + + + ), },