Removed all todos from code and created corresponding JIRA tickets.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user