1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 23:09:41 +02:00

fix(docker/image): swarm image list issue [EE-6374] (#10710)

This commit is contained in:
Oscar Zhou 2023-12-01 16:49:31 +13:00 committed by GitHub
parent 3cf36b0e93
commit 5c7f6aab66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View file

@ -26,8 +26,8 @@ export function TableContent<T extends DefaultType = DefaultType>({
return (
<>
{rows.map((row) => (
<Fragment key={row.id}>{renderRow(row)}</Fragment>
{rows.map((row, index) => (
<Fragment key={`${row.id}-${index}`}>{renderRow(row)}</Fragment>
))}
</>
);