split fees into specific categories and send delete request

This commit is contained in:
Bilal Catic
2019-11-21 14:32:52 +01:00
parent d1d67c346a
commit 445a635300
2 changed files with 70 additions and 9 deletions

View File

@@ -29,6 +29,7 @@ class SelectTable extends Component {
selection.push(key);
}
// update the state
this.props.onSelectChange(selection);
this.setState({ selection });
};
@@ -50,6 +51,7 @@ class SelectTable extends Component {
selection.push(`select-${item._original[keyField]}`);
});
}
this.props.onSelectChange(selection);
this.setState({ selectAll, selection });
};