Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
Selecting rows now are in components state (fix #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
damianprzygodzki committed Sep 2, 2016
1 parent 4b40bed commit 92beca8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/table/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,7 @@ class Table extends Component {
<tfoot>
</tfoot>
</table>

{ rowData && rowData[tabid] && rowData[tabid].length === 0 && this.renderEmptyInfo() }

{rowData && rowData[tabid] && Object.keys(rowData[tabid]).length === 0 && this.renderEmptyInfo()}
</div>
{/* Temporary button for adding new row*/}
<Widget
Expand Down

0 comments on commit 92beca8

Please sign in to comment.