IO-1637 Tax rates randomly not pulling.

This commit is contained in:
Patrick Fic
2022-02-09 10:55:12 -08:00
parent e7e9ca6dfc
commit 351459681c

View File

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