This is an automated email from the ASF dual-hosted git repository.

hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-gateway.git

commit feaf78c45e2ed05bfb075ffeb6e1ed93d774f2f3
Author: Yang Luo <[email protected]>
AuthorDate: Fri Sep 4 13:08:41 2026 +0800

    fix(agent): return a string row key for agent records
---
 web/src/pages/AgentDetailPage.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/src/pages/AgentDetailPage.tsx 
b/web/src/pages/AgentDetailPage.tsx
index c33803f..5c392cd 100644
--- a/web/src/pages/AgentDetailPage.tsx
+++ b/web/src/pages/AgentDetailPage.tsx
@@ -607,7 +607,7 @@ export default function AgentDetailPage({account}: 
{account: Account}) {
             <DataTable
               columns={recordColumns}
               dataSource={records}
-              rowKey={record => record.id}
+              rowKey={record => String(record.id)}
               pageSize={0}
               emptyText={i18next.t("agent:Monitoring, no activity yet")}
             />


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to