fix some wording
This commit is contained in:
@@ -112,7 +112,7 @@ export const SupplierComponent = observer((props) => {
|
||||
),
|
||||
},
|
||||
{
|
||||
title: "Action",
|
||||
title: "Tindakan",
|
||||
key: "action",
|
||||
width: "20%",
|
||||
render: (text, record) => (
|
||||
@@ -151,12 +151,12 @@ export const SupplierComponent = observer((props) => {
|
||||
icon: <ExclamationCircleOutlined />,
|
||||
okText: "Yes",
|
||||
okType: "primary",
|
||||
cancelText: "Cancel",
|
||||
cancelText: "Batal",
|
||||
onOk() {
|
||||
return deleteData(id);
|
||||
},
|
||||
onCancel() {
|
||||
console.log("Cancel");
|
||||
console.log("Batal");
|
||||
},
|
||||
});
|
||||
};
|
||||
@@ -342,7 +342,7 @@ export const SupplierComponent = observer((props) => {
|
||||
visible={store.supplier.visibleModalSupplier}
|
||||
title={idData ? "Edit Supplier" : "Create a new Supplier"}
|
||||
okText={idData ? "Edit" : "Create"}
|
||||
cancelText="Cancel"
|
||||
cancelText="Batal"
|
||||
onCancel={() => {
|
||||
form.resetFields();
|
||||
handleCancel();
|
||||
|
||||
Reference in New Issue
Block a user