From d37b3d536f0753ea06eb1e7794643876f9432a4a Mon Sep 17 00:00:00 2001 From: "@soyjavi" Date: Thu, 12 Nov 2015 12:02:37 +0700 Subject: [PATCH] Missing code in --- components/table/index.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/table/index.jsx b/components/table/index.jsx index f984a6b2..08123699 100644 --- a/components/table/index.jsx +++ b/components/table/index.jsx @@ -56,7 +56,9 @@ class Table extends React.Component { }; handleRowsSelect = () => { - this.setState({ selected: !this.state.selected }); + const all = !this.state.all; + this.setState({ all }); + this.props.onSelect(event, this.getSelected(all)); }; isChanged = (data, base) => {