Fixed: Select all selecting hidden items

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick 2018-11-10 23:52:44 -05:00
parent 78a0b5f8b7
commit 510439570e
2 changed files with 13 additions and 0 deletions

View file

@ -20,6 +20,15 @@ class TableSelectCell extends Component {
onSelectedChange({ id, value: isSelected });
}
componentWillUnmount() {
const {
id,
onSelectedChange
} = this.props;
onSelectedChange({ id, value: null });
}
//
// Listeners