Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6f93619

Browse files
set state.selectedRowKeys based on store
1 parent 6bc81dd commit 6f93619

File tree

1 file changed

+1
-1
lines changed
  • packages/react-bootstrap-table2/src/row-selection

1 file changed

+1
-1
lines changed

‎packages/react-bootstrap-table2/src/row-selection/wrapper.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default Base =>
3232
componentWillReceiveProps(nextProps) {
3333
nextProps.store.selected = nextProps.selectRow.selected || [];
3434
this.setState(() => ({
35-
selectedRowKeys: nextProps.selectRow.selected
35+
selectedRowKeys: nextProps.store.selected
3636
}));
3737
}
3838

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /