diff --git a/src/Components/Pagination.jsx b/src/Components/Pagination.jsx index 3f3debb..3c388b6 100644 --- a/src/Components/Pagination.jsx +++ b/src/Components/Pagination.jsx @@ -31,11 +31,11 @@ const Pagination = ({ totalItems, itemsPerPageOptions = [ 10, 15] }) => { }; return ( - + {/* Tanami v0.1 */} - - { {size} ))} - + */} { section: " ", width: "32.3%", }, - { - label: "IO status", - placeHolder: "Select option", - name: "ioStatus", - type: "select", + // { + // label: "IO status", + // placeHolder: "Select option", + // name: "ioStatus", + // type: "select", - section: " ", - width: "32.3%", - options: [ - { - label: "Open", - value: "open", - }, - { - label: "Pending", - value: "pending", - }, - { - label: "Closed", - value: "closed", - }, - ], - }, + // section: " ", + // width: "32.3%", + // options: [ + // { + // label: "Open", + // value: "open", + // }, + // { + // label: "Pending", + // value: "pending", + // }, + // { + // label: "Closed", + // value: "closed", + // }, + // ], + // }, ]; const formEditFields = [ diff --git a/src/Pages/IO_Management/ViewIO/ViewIOTable.jsx b/src/Pages/IO_Management/ViewIO/ViewIOTable.jsx index 7aeda0b..6ca7394 100644 --- a/src/Pages/IO_Management/ViewIO/ViewIOTable.jsx +++ b/src/Pages/IO_Management/ViewIO/ViewIOTable.jsx @@ -218,7 +218,7 @@ const ViewIOTable = () => { - { > - + */} ), })); @@ -281,7 +281,7 @@ const ViewIOTable = () => { - + {/* - + */} diff --git a/src/Pages/IO_Management/ViewIO/ViewIOdata.jsx b/src/Pages/IO_Management/ViewIO/ViewIOdata.jsx index 26b9180..9552ee0 100644 --- a/src/Pages/IO_Management/ViewIO/ViewIOdata.jsx +++ b/src/Pages/IO_Management/ViewIO/ViewIOdata.jsx @@ -83,7 +83,6 @@ const ViewIOdata = () => { ))} - {tabs.map(({ content }, index) => ( diff --git a/src/Pages/IO_Management/ViewIO/ViewIOdetails.jsx b/src/Pages/IO_Management/ViewIO/ViewIOdetails.jsx index 139edfe..d291cd1 100644 --- a/src/Pages/IO_Management/ViewIO/ViewIOdetails.jsx +++ b/src/Pages/IO_Management/ViewIO/ViewIOdetails.jsx @@ -1,4 +1,4 @@ -import { Box } from "@chakra-ui/react"; +import { Box, Button } from "@chakra-ui/react"; import React, { useContext } from "react"; import { useNavigate, useParams } from "react-router-dom"; @@ -8,6 +8,7 @@ import DataTable from "../../../Components/DataTable/DataTable"; import FormInputView from "../../../Components/FormInputView"; const ViewIOdetails = () => { + const navigate = useNavigate() const params = useParams(); const { IODetails } = useContext(GlobalStateContext); console.log(IODetails); @@ -98,12 +99,12 @@ const ViewIOdetails = () => { width: "32.3%", section: "", }, - { - label: "IO Status", - value: foundObject?.ioStatus, - width: "32.3%", - section: "", - }, + // { + // label: "IO Status", + // value: foundObject?.ioStatus, + // width: "32.3%", + // section: "", + // }, ]; const groupedFields = formFields.reduce((groups, field) => { @@ -119,7 +120,8 @@ const ViewIOdetails = () => { return Loading...; } - return ; + return + ; }; export default ViewIOdetails; diff --git a/src/Pages/Investor_Management/InvestorDetails/InvestorDetails.jsx b/src/Pages/Investor_Management/InvestorDetails/InvestorDetails.jsx index 980c726..7c63135 100644 --- a/src/Pages/Investor_Management/InvestorDetails/InvestorDetails.jsx +++ b/src/Pages/Investor_Management/InvestorDetails/InvestorDetails.jsx @@ -280,6 +280,7 @@ const InvestorDetails = () => { spacing="24px" > { value={searchTerm} onChange={(e) => setSearchTerm(e.target.value)} /> - + + + + + + + +