Skip to content

Commit 624764c

Browse files
committed
fix #1407
1 parent 018bf76 commit 624764c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/TableBody.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ class TableBody extends Component {
200200

201201
if (tableRows.length === 0 && !this.props.withoutNoDataText) {
202202
const colSpan = this.props.columns.filter(c => !c.hidden).length
203-
+ (isSelectRowDefined ? 1 : 0);
203+
+ (isSelectRowDefined ? 1 : 0)
204+
+ (this.props.expandColumnOptions.expandColumnVisible ? 1 : 0);
204205
tableRows = [
205206
<TableRow key='##table-empty##'>
206207
<td data-toggle='collapse'

0 commit comments

Comments
 (0)