From 7e3fa6ccb21b0b4269eeeb0a6ebd5c0d76e18fc4 Mon Sep 17 00:00:00 2001 From: Hamsini Malli Date: Wed, 8 Nov 2023 15:24:01 -0500 Subject: [PATCH] Update CollapsibleTable.js --- src/components/CollapsibleTable.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/CollapsibleTable.js b/src/components/CollapsibleTable.js index 03f10ae6e..01f6129e0 100644 --- a/src/components/CollapsibleTable.js +++ b/src/components/CollapsibleTable.js @@ -164,10 +164,7 @@ const CollapsibleRow = (props) => { {row.data.map((cell, i) => { - if (!('truncate' in cell)) { - cell.truncate = false; - } - return cell.truncate ? ( + return cell?.truncate ? ( {cell.value}