diff --git a/frontend/libs/console/legacy-ce/src/lib/features/BrowseRows/components/DataGrid/parts/ReactTableWrapper.tsx b/frontend/libs/console/legacy-ce/src/lib/features/BrowseRows/components/DataGrid/parts/ReactTableWrapper.tsx index eae6518b923..8af02235ce8 100644 --- a/frontend/libs/console/legacy-ce/src/lib/features/BrowseRows/components/DataGrid/parts/ReactTableWrapper.tsx +++ b/frontend/libs/console/legacy-ce/src/lib/features/BrowseRows/components/DataGrid/parts/ReactTableWrapper.tsx @@ -261,7 +261,7 @@ export const ReactTableWrapper: React.VFC = ({ return ( diff --git a/frontend/libs/console/legacy-ce/src/lib/new-components/CardedTable/CardedTable.tsx b/frontend/libs/console/legacy-ce/src/lib/new-components/CardedTable/CardedTable.tsx index 5e118e0e192..d5045e65862 100644 --- a/frontend/libs/console/legacy-ce/src/lib/new-components/CardedTable/CardedTable.tsx +++ b/frontend/libs/console/legacy-ce/src/lib/new-components/CardedTable/CardedTable.tsx @@ -107,12 +107,16 @@ const Body = ({ data, showActionCell = false }: BodyProps) => { {data.map((row, rowIndex) => { return ( - - {row.map((cell, index) => { - if (showActionCell && index + 1 === row.length) { - return {cell}; + + {row.map((cell, cellIndex) => { + if (showActionCell && cellIndex + 1 === row.length) { + return ( + + {cell} + + ); } - return {cell}; + return {cell}; })} );