Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dfbc1ad338 | |||
| aa1c0c994a |
@@ -81,7 +81,7 @@ const IOCashDetails = () => {
|
||||
const searchLower = searchTerm.toLowerCase();
|
||||
const nameMatches = name.toLowerCase().includes(searchLower);
|
||||
return nameMatches;
|
||||
});
|
||||
}).sort((b, a) => new Date(a.createdAt) - new Date(b.createdAt));
|
||||
|
||||
|
||||
const extractedArray = filteredData?.map((item, index) => ({
|
||||
|
||||
@@ -54,7 +54,7 @@ const IONAVDetails = () => {
|
||||
const searchLower = searchTerm.toLowerCase();
|
||||
const nameMatches = name.toLowerCase().includes(searchLower);
|
||||
return nameMatches;
|
||||
});
|
||||
}).sort((b, a) => new Date(a.transactionDate) - new Date(b.transactionDate));
|
||||
|
||||
const extractedArray=filteredData?.map((item, index) => ({
|
||||
id: item?.id,
|
||||
|
||||
Reference in New Issue
Block a user