Fix for table action button removal bug

This commit is contained in:
navaneeth 2021-04-08 13:19:53 +05:30
parent 7a7325adf5
commit bcae42fff2

View file

@ -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) => {