Skip to content

Commit

Permalink
fix #1424
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Jul 9, 2017
1 parent 298e971 commit 62ceb31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TableBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class TableBody extends Component {

if (tableRows.length === 0 && !this.props.withoutNoDataText) {
const colSpan = this.props.columns.filter(c => !c.hidden).length
+ (isSelectRowDefined ? 1 : 0)
+ ((isSelectRowDefined && !this.props.selectRow.hideSelectColumn) ? 1 : 0)
+ (this.props.expandColumnOptions.expandColumnVisible ? 1 : 0);
tableRows = [
<TableRow key='##table-empty##'>
Expand Down

0 comments on commit 62ceb31

Please sign in to comment.