mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b7dd98d5d2
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue