1
0
Fork 0
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:
Sonja Happ 2021-03-26 14:18:02 +01:00
commit b7dd98d5d2

View file

@ -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;