diff --git a/src/pages/settings/user/manage-position/blocks/ListToolBar.tsx b/src/pages/settings/user/manage-position/blocks/ListToolBar.tsx index 3ee35a7..6087e11 100644 --- a/src/pages/settings/user/manage-position/blocks/ListToolBar.tsx +++ b/src/pages/settings/user/manage-position/blocks/ListToolBar.tsx @@ -17,13 +17,13 @@ const ListToolBar = () => { }; const handleSearch = () => { - table.getColumn('username')?.setFilterValue(searchValue); + table.getColumn('name')?.setFilterValue(searchValue); table.setPageIndex(0); }; useEffect(() => { const timer = setTimeout(() => { - table.getColumn('username')?.setFilterValue(searchValue); + table.getColumn('name')?.setFilterValue(searchValue); table.setPageIndex(0); }, 200); return () => clearTimeout(timer);