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

Merge branch 'master' into feature-whitelabel

This commit is contained in:
irismarie 2021-03-10 16:44:42 +01:00
commit 3e104e68f4

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;