We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c45bd38 commit b0b01deCopy full SHA for b0b01de
src/BootstrapTable.js
@@ -22,7 +22,7 @@ class BootstrapTable extends Component {
22
if (Util.canUseDOM()) {
23
this.isIE = document.documentMode;
24
}
25
- this.store = new TableDataStore(this.props.data.slice());
+ this.store = new TableDataStore(this.props.data ? this.props.data.slice() : []);
26
27
this.initTable(this.props);
28
0 commit comments