Rename key to path in actions and reducers for settings (tootsuite pr #6105)

This commit is contained in:
cwm
2018-01-09 09:48:14 -06:00
parent 7f4374d97d
commit 6d1c325167
7 changed files with 15 additions and 15 deletions

View File

@@ -14,8 +14,8 @@ export default class ColumnSettings extends React.PureComponent {
onClear: PropTypes.func.isRequired,
};
onPushChange = (key, checked) => {
this.props.onChange(['push', ...key], checked);
onPushChange = (path, checked) => {
this.props.onChange(['push', ...path], checked);
}
render () {