add filter msisdn OR fullname and set limit to 100

This commit is contained in:
Wikzyy
2025-05-02 09:32:23 +07:00
parent bd5003c669
commit 749566f574
2 changed files with 10 additions and 2 deletions

View File

@ -147,6 +147,7 @@ const ManageWalletContextProvider = ({ children }: { children: React.ReactNode }
try {
sorting = sorting.length == 0 ? [{ id: 'name', desc: false }] : sorting;
filter = filter.length == 0 ? {} : { 'wallets.name': { like: `%${filter[0].value?.toLowerCase()}%` } };
const response = await GetData(`${API_URL_MASTER_DATA}/wallet/list`, {
limit,
page: page + 1,