Removed all todos from code and created corresponding JIRA tickets.

This commit is contained in:
Patrick Fic
2021-01-05 14:39:27 -08:00
parent 3e3b2780e3
commit af8ccfaff5
35 changed files with 65 additions and 143 deletions

View File

@@ -46,7 +46,7 @@ function VendorsFormContainer({ refetch, bodyshop }) {
notification["success"]({
message: t("vendors.successes.deleted"),
});
//TODO Better way to reset the field decorators?
if (refetch)
refetch().then((r) => {
form.resetFields();
@@ -74,7 +74,7 @@ function VendorsFormContainer({ refetch, bodyshop }) {
notification["success"]({
message: t("vendors.successes.saved"),
});
//TODO Better way to reset the field decorators?
if (refetch)
refetch().then(() => {
form.resetFields();
@@ -99,7 +99,7 @@ function VendorsFormContainer({ refetch, bodyshop }) {
notification["success"]({
message: t("vendors.successes.saved"),
});
//TODO Better way to reset the field decorators?
if (refetch) refetch();
form.resetFields();
setFormLoading(false);