updated
This commit is contained in:
@@ -62,7 +62,7 @@ const DeletionRequest = () => {
|
||||
}, []);
|
||||
|
||||
// ====================================================[Table Filter]================================================================
|
||||
const filteredData = data?.data?.filter((item) => {
|
||||
const filteredData = data?.data?.rows?.filter((item) => {
|
||||
// Filter by name (case insensitive)
|
||||
const name = item?.firstName;
|
||||
const searchLower = searchTerm.toLowerCase();
|
||||
|
||||
@@ -220,7 +220,7 @@ const filteredData = data?.data?.rows
|
||||
</Box>
|
||||
),
|
||||
"Supporting's": (
|
||||
<Text
|
||||
item.transactionStatus === "Approved" ? <Text
|
||||
w={"60px"}
|
||||
justifyContent={slideFromRight ? "right" : "left"}
|
||||
as={"span"}
|
||||
@@ -254,7 +254,7 @@ const filteredData = data?.data?.rows
|
||||
<Box as="span">View</Box> <ExternalLinkIcon />
|
||||
</Link> */}
|
||||
</Badge>
|
||||
</Text>
|
||||
</Text>:""
|
||||
),
|
||||
}))
|
||||
|
||||
|
||||
@@ -228,6 +228,7 @@ const DistributionInvestor = ({ isOpen, onClose, exit }) => {
|
||||
whiteSpace="normal"
|
||||
wordBreak="normal"
|
||||
overflowWrap="normal"
|
||||
opacity={0}
|
||||
>
|
||||
{calcualtedData?.distributed_per?.toFixed(2)}%
|
||||
</Th>
|
||||
@@ -383,7 +384,7 @@ const DistributionInvestor = ({ isOpen, onClose, exit }) => {
|
||||
emptyMessage={`We don't have any Sponers `}
|
||||
tableHeadRow={tableHeadRow}
|
||||
data={extractedArray}
|
||||
total={<Total />}
|
||||
// total={<Total />}
|
||||
// isLoading={isLoading}
|
||||
/> : <Alert status='info' fontSize={'sm'} rounded={'sm'}>
|
||||
<AlertIcon />
|
||||
|
||||
@@ -125,7 +125,7 @@ const ViewIOdetails = () => {
|
||||
country: country?.countryName,
|
||||
value: removeTrailingZeros(minInvestmentAmt),
|
||||
logo: country?.flagIcon,
|
||||
curr: currencyCode,
|
||||
curr: country?.countryCode,
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user