Skip to content

Commit 62ceb31

Browse files
committed
fix #1424
1 parent 298e971 commit 62ceb31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TableBody.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ 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 && !this.props.selectRow.hideSelectColumn) ? 1 : 0)
204204
+ (this.props.expandColumnOptions.expandColumnVisible ? 1 : 0);
205205
tableRows = [
206206
<TableRow key='##table-empty##'>

0 commit comments

Comments
 (0)