Commit 3cb78928 by JustSong

fix: fix log table use created_at as key instead of id

Co-authored-by: 13714733197 <13714733197@163.com>
parent f5060560
...@@ -324,7 +324,7 @@ const LogsTable = () => { ...@@ -324,7 +324,7 @@ const LogsTable = () => {
.map((log, idx) => { .map((log, idx) => {
if (log.deleted) return <></>; if (log.deleted) return <></>;
return ( return (
<Table.Row key={log.created_at}> <Table.Row key={log.id}>
<Table.Cell>{renderTimestamp(log.created_at)}</Table.Cell> <Table.Cell>{renderTimestamp(log.created_at)}</Table.Cell>
{ {
isAdminUser && ( isAdminUser && (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment