mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-06 06:48:21 +00:00
Fix for table action button removal bug
This commit is contained in:
parent
7a7325adf5
commit
bcae42fff2
1 changed files with 2 additions and 2 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue