diff --git a/src/common/table.js b/src/common/table.js index 8abe5a9..c5edd2e 100644 --- a/src/common/table.js +++ b/src/common/table.js @@ -290,7 +290,10 @@ class CustomTable extends Component { const row = []; for (let child of props.children) { - row.push(CustomTable.addCell(data, index, child)); + // check whether empty <> object has been given + if (Object.keys(child.props).length != 0) { + row.push(CustomTable.addCell(data, index, child)); + } } return row;