Return only online agent name

This commit is contained in:
2025-07-31 15:55:03 +07:00
parent c454e87d7a
commit 6cd28a4edb
4 changed files with 79 additions and 13 deletions

View File

@@ -310,7 +310,7 @@ function AgentIndex({ index }: { index: number }) {
</button>
<button
className="btn btn-sm"
onClick={() => setCurrentPage(data.totalPages)}
onClick={() => setCurrentPage(data.totalPages || 1)}
disabled={currentPage === data.totalPages}
>
{'>>'}