diff --git a/src/TableBody.js b/src/TableBody.js index 6467f1cbc..97a4aaae6 100644 --- a/src/TableBody.js +++ b/src/TableBody.js @@ -77,10 +77,10 @@ class TableBody extends Component { ); } else { columnChild = formattedValue; - columnTitle = column.columnTitle ? formattedValue.toString() : null; + columnTitle = column.columnTitle && formattedValue ? formattedValue.toString() : null; } } else { - columnTitle = column.columnTitle ? fieldValue.toString() : null; + columnTitle = column.columnTitle && fieldValue ? fieldValue.toString() : null; } return (