IO-1407 Resolve bill not clearing on enter again

This commit is contained in:
Patrick Fic
2021-10-18 13:40:31 -07:00
parent 3d8c390291
commit 0d65f8d894
2 changed files with 2 additions and 4 deletions

View File

@@ -216,7 +216,7 @@ function BillEnterModalContainer({
if (enterAgain) {
form.resetFields();
form.setFieldsValue(formValues);
form.setFieldsValue({ ...form.getFieldsValue(), billlines: [] });
} else {
toggleModalVisible();
}