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

Co-authored-by: 13714733197 <13714733197@163.com>
This commit is contained in:
JustSong 2023-08-30 21:43:01 +08:00 committed by ckt1031
parent 03727a92c8
commit 2b614a18a7

View File

@ -324,7 +324,7 @@ const LogsTable = () => {
.map((log, idx) => {
if (log.deleted) return <></>;
return (
<Table.Row key={log.created_at}>
<Table.Row key={log.id}>
<Table.Cell>{renderTimestamp(log.created_at)}</Table.Cell>
{
isAdminUser && (