pagination and member

This commit is contained in:
unknown
2025-06-03 12:02:03 +07:00
parent c5f2da8ee0
commit 0707f90458
3 changed files with 7 additions and 8 deletions

View File

@ -43,7 +43,7 @@ const ListToolbar = ({ createMember, onReload, isReloading, groups }: ListToolba
const handleSearch = (e: React.ChangeEvent<HTMLInputElement>) => {
e.preventDefault()
// setSearchValue(e.target.value)
table.resetPageIndex()
if (typeSearchValue === 'username') {
table.getColumn('username')?.setFilterValue(searchValue);
table.getColumn('msisdn')?.setFilterValue('');