From d4b9acd08d4a6e0352e0a3a7ebacfb1d981161f6 Mon Sep 17 00:00:00 2001 From: Sonja Happ Date: Wed, 24 Feb 2021 12:32:07 +0100 Subject: [PATCH] check if true for editButton and deleteButton --- src/common/table.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/table.js b/src/common/table.js index 5471244..d5c750c 100644 --- a/src/common/table.js +++ b/src/common/table.js @@ -124,7 +124,7 @@ class CustomTable extends Component { } // add buttons - if (child.props.editButton) { + if (child.props.editButton === true) { cell.push( ); } - if (child.props.deleteButton) { + if (child.props.deleteButton === true) { cell.push(