1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

'fix' which corrects error, table still looks funny

This commit is contained in:
irismarie 2021-03-10 16:40:52 +01:00
parent 4b41bc3c23
commit aef66f625a

View file

@ -126,7 +126,7 @@ class CustomTable extends Component {
}
// add buttons
let showEditButton = child.props.showEditButton !== null
let showEditButton = child.props.showEditButton !== null && child.props.showEditButton !== undefined
? child.props.showEditButton(index)
: true;
@ -229,7 +229,7 @@ class CustomTable extends Component {
);
}
let showDeleteButton = child.props.showDeleteButton !== null
let showDeleteButton = child.props.showDeleteButton !== null && child.props.showDeleteButton !== undefined
? child.props.showDeleteButton(index)
: true;