Skip to content

Commit

Permalink
Merge pull request #339 from lifeomic/PHC-4380-fix-regression
Browse files Browse the repository at this point in the history
fix(PHC-4380): achieves backward compatibility #331
  • Loading branch information
shawnzhu authored Mar 28, 2023
2 parents fed798d + 49a1326 commit e70b9c2
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 e70b9c2

Please sign in to comment.