From 33c10cfa027d769c1d02a54bad766f431b1196ee Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Thu, 10 Jun 2021 08:03:19 +0530 Subject: added sgst, cgst, igst support instead of GST as a whole --- src/components/Form/Items/RegisterItemForm.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/components/Form/Items/RegisterItemForm.js') diff --git a/src/components/Form/Items/RegisterItemForm.js b/src/components/Form/Items/RegisterItemForm.js index b57db9f..6ad4c1f 100644 --- a/src/components/Form/Items/RegisterItemForm.js +++ b/src/components/Form/Items/RegisterItemForm.js @@ -45,11 +45,12 @@ const RegisterItemForm = (props) => { .then((res) => { console.log(res); props.setVisibility(false); + props.updateItemsList(); }) .catch((err) => { console.log(err); + alert("Something went wrong, please check the log by opening the console.") }); - props.updateItemsList(); } -- cgit v1.2.3