Skip to content

Commit

Permalink
fix(PHC-4380): achieves backward compatibility #331
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnzhu committed Mar 28, 2023
1 parent a0b47d1 commit 49a1326
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/TableModule/TableModule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,9 @@ export const TableModule = React.memo(
</tr>
)}
{data?.map((row, rowIndex) => {
const rowData = createRow(row, rowIndex);
const rowData = enableRowSelection
? createRow(row, rowIndex)
: row;
return (
<TableModuleRow
key={`tableRow-${rowIndex}`}
Expand Down

0 comments on commit 49a1326

Please sign in to comment.