Fix filter

This commit is contained in:
unknown
2025-06-02 00:30:16 +07:00
parent ccc33864ec
commit bf398d41fb
3 changed files with 32 additions and 36 deletions

View File

@ -71,6 +71,7 @@ const AgentBalance = () => {
order_field: 'created_at',
order_direction: 'DESC',
filter: JSON.stringify(filter),
specialFilter: true
}
});
let temp = 1;
@ -80,15 +81,6 @@ const AgentBalance = () => {
return el;
});
return { data: resBalance, totalCount: balances?.data.data.total_count }
// setIsReloading(true);
// try {
// // setDataBalance(resBalance);
// } catch (error: any) {
// alert(error.message);
// console.log(error);
// } finally {
// setIsReloading(false);
// }
}
const openDialog = () => setIsDialogOpen(true);