Skip to content

Commit

Permalink
Fix blank row issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gurdasnijor committed Nov 21, 2014
1 parent a7213af commit ec21a18
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/gridRowContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ var GridRowContainer = React.createClass({

}

return <tr>{that.state.showChildren ? arr.concat(children) : arr}</tr>
return hasChildren === false ?
arr[0] :
<tbody>
{that.state.showChildren ? arr.concat(children) : arr}
</tbody>
}
});

Expand Down

0 comments on commit ec21a18

Please sign in to comment.