From bcae42fff27962de0f1a7298598e09220874d3a9 Mon Sep 17 00:00:00 2001 From: navaneeth Date: Thu, 8 Apr 2021 13:19:53 +0530 Subject: [PATCH] Fix for table action button removal bug --- frontend/src/Editor/Inspector/Components/Table.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Editor/Inspector/Components/Table.jsx b/frontend/src/Editor/Inspector/Components/Table.jsx index 7de1a40106..de275d1895 100644 --- a/frontend/src/Editor/Inspector/Components/Table.jsx +++ b/frontend/src/Editor/Inspector/Components/Table.jsx @@ -131,9 +131,9 @@ class Table extends React.Component { } removeAction = (index) => { - const newValue = actions.value; + const newValue = this.state.component.component.definition.properties.actions.value; newValue.splice(index, 1); - paramUpdated ({name: 'actions'}, 'value', newValue, 'properties'); + this.props.paramUpdated ({name: 'actions'}, 'value', newValue, 'properties'); } onColumnItemChange = (index, e) => {