mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
check if true for editButton and deleteButton
This commit is contained in:
parent
a4223aa6d0
commit
d4b9acd08d
1 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ class CustomTable extends Component {
|
|||
}
|
||||
|
||||
// add buttons
|
||||
if (child.props.editButton) {
|
||||
if (child.props.editButton === true) {
|
||||
cell.push(
|
||||
<OverlayTrigger
|
||||
key={0}
|
||||
|
@ -215,7 +215,7 @@ class CustomTable extends Component {
|
|||
</OverlayTrigger>);
|
||||
}
|
||||
|
||||
if (child.props.deleteButton) {
|
||||
if (child.props.deleteButton === true) {
|
||||
cell.push(
|
||||
<OverlayTrigger
|
||||
key={5}
|
||||
|
|
Loading…
Add table
Reference in a new issue