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:
commit
3e104e68f4
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue