diff --git a/src/Pages/IO_Management/CreateIO/AddIONav.jsx b/src/Pages/IO_Management/CreateIO/AddIONav.jsx
index ad7c533..98acdf5 100644
--- a/src/Pages/IO_Management/CreateIO/AddIONav.jsx
+++ b/src/Pages/IO_Management/CreateIO/AddIONav.jsx
@@ -85,10 +85,10 @@ import { formatDatee } from "../../../Components/FormField";
});
handleClose()
}else if(res?.error?.status === 400){
- setIsLoading(false);
toast({
render: () => ,
});
+ handleClose()
}
@@ -110,6 +110,7 @@ import { formatDatee } from "../../../Components/FormField";
};
const handleClose = () => {
+ setIsLoading(false);
setAlert(false)
onClose()
reset({
diff --git a/src/Pages/IO_Management/CreateIO/IONAVDetails.jsx b/src/Pages/IO_Management/CreateIO/IONAVDetails.jsx
index c70c07c..643b247 100644
--- a/src/Pages/IO_Management/CreateIO/IONAVDetails.jsx
+++ b/src/Pages/IO_Management/CreateIO/IONAVDetails.jsx
@@ -183,6 +183,8 @@ const IONAVDetails = () => {
*/}
+ {IODetails?.isInvestedAmount ? :null}
+
diff --git a/src/Pages/IO_Management/ViewIO/ViewIOdetails.jsx b/src/Pages/IO_Management/ViewIO/ViewIOdetails.jsx
index a3f7287..750ddc1 100644
--- a/src/Pages/IO_Management/ViewIO/ViewIOdetails.jsx
+++ b/src/Pages/IO_Management/ViewIO/ViewIOdetails.jsx
@@ -108,7 +108,7 @@ const ViewIOdetails = () => {
descriptionArabic: IObyID?.data?.descriptionArabic,
goalAmount: removeTrailingZeros(IObyID?.data?.goalAmount),
closingDate: IObyID?.data?.closingDate,
- holdingPeriod: IObyID?.data?.holdingPeriod,
+ holdingPeriod: IObyID?.dpata?.holdingPeriod,
ISIN: IObyID?.data?.ISIN,
comment: IObyID?.data?.comment,
expectedReturn: IObyID?.data?.expectedReturn,