Bug Fixing
This commit is contained in:
@@ -81,10 +81,6 @@ export const Profile = observer(() => {
|
||||
<Button
|
||||
key={"remove"}
|
||||
onClick={handleRemoveFilter}
|
||||
// onCancel={() => {
|
||||
// form.resetFields();
|
||||
// store.membership.visibleModalFilterTransaction=false
|
||||
// }}
|
||||
style={{
|
||||
backgroundColor: "#e74e5e",
|
||||
color: "#fff",
|
||||
@@ -94,10 +90,6 @@ export const Profile = observer(() => {
|
||||
</Button>,
|
||||
<Button key={"cancel"}
|
||||
onClick={handleCancelFilter}
|
||||
// onCancel={() => {
|
||||
// form.resetFields();
|
||||
// store.membership.visibleModalFilterTransaction=false
|
||||
// }}
|
||||
>
|
||||
Cancel
|
||||
</Button>,
|
||||
@@ -304,36 +296,6 @@ export const Profile = observer(() => {
|
||||
</Row>
|
||||
<div />
|
||||
</Card>
|
||||
{/* <Modal
|
||||
visible={store.transaction.visibleModalFilterTransaction}
|
||||
title={"Filter"}
|
||||
footer={footerLayoutFilter}
|
||||
onCancel={() => {
|
||||
form.resetFields();
|
||||
store.membership.visibleModalFilterTransaction=false
|
||||
}}
|
||||
>
|
||||
<Row>
|
||||
<Col span={24}>
|
||||
<Form layout="vertical" name="filter" form={form}>
|
||||
<Form.Item
|
||||
name="start_date"
|
||||
label="Dari"
|
||||
rules={[{ required: true, message: "Please input Date!" }]}
|
||||
>
|
||||
<DatePicker style={{ width: "100%" }} />
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
name="end_date"
|
||||
label="Sampai"
|
||||
rules={[{ required: true, message: "Please input Date!" }]}
|
||||
>
|
||||
<DatePicker style={{ width: "100%" }} />
|
||||
</Form.Item>
|
||||
</Form>
|
||||
</Col>
|
||||
</Row>
|
||||
</Modal> */}
|
||||
<Modal
|
||||
visible={store.transaction.visibleModalFilterTransaction}
|
||||
title={"Filter"}
|
||||
|
||||
Reference in New Issue
Block a user