diff --git a/src/pages/(admin)/Lists/UserList.tsx b/src/pages/(admin)/Lists/UserList.tsx index 6a8a9ad7..38f48b47 100644 --- a/src/pages/(admin)/Lists/UserList.tsx +++ b/src/pages/(admin)/Lists/UserList.tsx @@ -63,13 +63,13 @@ export default function UserList({ const userHash = useMemo( () => ({ type, - size: 25, + size: 16, page, }), [type, page], ); - const {users, total, reload} = useUsers(userHash); + const {users, total, isLoading, reload} = useUsers(userHash); const {permissions} = usePermissions(user?.id || ""); const {balance} = useUserBalance(); const {groups} = useGroups({ @@ -625,12 +625,25 @@ export default function UserList({
- - +
+ + {page * 16 + 1} - {(page + 1) * 16 > total ? total : (page + 1) * 16} / {total} + + +
@@ -644,7 +657,7 @@ export default function UserList({ ))} - + {table.getRowModel().rows.map((row) => ( {row.getVisibleCells().map((cell) => (