From d009848068b06eadeecf8fd9d5e77ec768430cec Mon Sep 17 00:00:00 2001 From: "Siddhesh.More" Date: Thu, 22 Aug 2024 14:43:57 +0530 Subject: [PATCH] update --- src/Pages/IO_Management/CreateIO/AddIONav.jsx | 3 ++- src/Pages/IO_Management/CreateIO/IONAVDetails.jsx | 2 ++ src/Pages/IO_Management/ViewIO/ViewIOdetails.jsx | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) 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,