File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -170,19 +170,18 @@ class TableBody extends Component {
170
170
return ( result ) ;
171
171
} , this ) ;
172
172
173
- var tableRowsOutput = tableRows ;
174
-
173
+ let tableRowsOutput = tableRows ;
174
+
175
175
if ( tableRows . length === 0 && ! this . props . withoutNoDataText ) {
176
176
tableRowsOutput = [
177
- < TableRow key = '##table-empty##' >
178
- < td data-toggle = 'collapse'
179
- colSpan = { this . props . columns . length + ( isSelectRowDefined ? 1 : 0 ) }
180
- className = 'react-bs-table-no-data' >
181
- { this . props . noDataText || Const . NO_DATA_TEXT }
182
- </ td >
183
- </ TableRow >
184
- ]
185
- ) ;
177
+ < TableRow key = '##table-empty##' >
178
+ < td data-toggle = 'collapse'
179
+ colSpan = { this . props . columns . length + ( isSelectRowDefined ? 1 : 0 ) }
180
+ className = 'react-bs-table-no-data' >
181
+ { this . props . noDataText || Const . NO_DATA_TEXT }
182
+ </ td >
183
+ </ TableRow >
184
+ ] ;
186
185
}
187
186
188
187
return (
You can’t perform that action at this time.
0 commit comments