Skip to content

Commit c5ed5ea

Browse files
committed
Merge branch 'master' of https://github.com/athenaxing/react-bootstrap-table into athenaxing-master
2 parents 3f60275 + ad9c927 commit c5ed5ea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/BootstrapTable.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ class BootstrapTable extends Component {
215215
let { replace } = nextProps;
216216
replace = replace || this.props.replace;
217217

218+
if (!nextProps.data) {
219+
return;
220+
}
218221
this.store.setData(nextProps.data.slice());
219222

220223
if (!replace) {

0 commit comments

Comments
 (0)