Skip to content

Commit

Permalink
Update CollapsibleTable.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hams7504 authored Nov 8, 2023
1 parent 0e7cbe5 commit 7e3fa6c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/CollapsibleTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,7 @@ const CollapsibleRow = (props) => {
</IconButton>
</StyledTableCell>
{row.data.map((cell, i) => {
if (!('truncate' in cell)) {
cell.truncate = false;
}
return cell.truncate ? (
return cell?.truncate ? (
<TruncatedTableCell key={i}>
{cell.value}
</TruncatedTableCell>
Expand Down

0 comments on commit 7e3fa6c

Please sign in to comment.