You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@casbin.apache.org by hs...@apache.org on 2026/09/04 05:57:06 UTC
(casbin-gateway) 01/02: fix(agent): return a string row key for agent records
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 <hs...@gmail.com>
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: commits-unsubscribe@casbin.apache.org
For additional commands, e-mail: commits-help@casbin.apache.org