fix some wording

This commit is contained in:
ilham
2022-02-03 03:14:59 +07:00
parent e26fb13813
commit e8c4b9a2bf
20 changed files with 88 additions and 88 deletions

View File

@@ -113,7 +113,7 @@ export const ProductComponent = observer((props) => {
),
},
{
title: "Action",
title: "Tindakan",
key: "action",
render: (text, record) => (
<Button
@@ -157,12 +157,12 @@ export const ProductComponent = observer((props) => {
icon: <ExclamationCircleOutlined />,
okText: "Yes",
okType: "primary",
cancelText: "Cancel",
cancelText: "Batal",
onOk() {
return deleteData(id);
},
onCancel() {
console.log("Cancel");
console.log("Batal");
},
});
};
@@ -388,7 +388,7 @@ export const ProductComponent = observer((props) => {
visible={store.product.visibleModalProduct}
title={idData ? "Edit Product" : "Create a new Product"}
okText={idData ? "Edit" : "Create"}
cancelText="Cancel"
cancelText="Batal"
onCancel={() => {
form.resetFields();
handleCancel();