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 {
170170 return ( result ) ;
171171 } , this ) ;
172172
173- var tableRowsOutput = tableRows ;
174-
173+ let tableRowsOutput = tableRows ;
174+
175175 if ( tableRows . length === 0 && ! this . props . withoutNoDataText ) {
176176 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+ ] ;
186185 }
187186
188187 return (
You can’t perform that action at this time.
0 commit comments