diff --git a/packages/admin-ui/ui/src/components/molecules/table/index.tsx b/packages/admin-ui/ui/src/components/molecules/table/index.tsx index affcfe3add..5b926de7cf 100644 --- a/packages/admin-ui/ui/src/components/molecules/table/index.tsx +++ b/packages/admin-ui/ui/src/components/molecules/table/index.tsx @@ -78,7 +78,7 @@ const Table = React.forwardRef( {filteringOptions ? (
{Array.isArray(filteringOptions) - ? filteringOptions.map((fo) => ) + ? filteringOptions.map((fo, idx) => ) : filteringOptions}
) : ( diff --git a/packages/admin-ui/ui/src/components/templates/collections-table/index.tsx b/packages/admin-ui/ui/src/components/templates/collections-table/index.tsx index 616f591c37..592c0d9641 100644 --- a/packages/admin-ui/ui/src/components/templates/collections-table/index.tsx +++ b/packages/admin-ui/ui/src/components/templates/collections-table/index.tsx @@ -133,10 +133,11 @@ const CollectionsTable: React.FC = () => { {headerGroups?.map((headerGroup) => ( - {headerGroup.headers.map((col) => ( + {headerGroup.headers.map((col, idx) => ( {col.render("Header")} @@ -156,9 +157,9 @@ const CollectionsTable: React.FC = () => { ) : ( - {rows.map((row) => { + {rows.map((row, idx) => { prepareRow(row) - return + return })} )}