This commit is contained in:
2024-08-23 18:03:18 +05:30
parent 25226d5464
commit b690a55ed3
4 changed files with 6 additions and 5 deletions

View File

@@ -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();

View File

@@ -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>:""
),
}))

View File

@@ -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 />

View File

@@ -125,7 +125,7 @@ const ViewIOdetails = () => {
country: country?.countryName,
value: removeTrailingZeros(minInvestmentAmt),
logo: country?.flagIcon,
curr: currencyCode,
curr: country?.countryCode,
}
})