diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-10 17:25:10 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-10 17:25:10 +0100 |
commit | 312c51b5c87e23c62d163770d550dc94df32627f (patch) | |
tree | 29b29205d4c08176bb271854ab82406211b645c5 /app/assets/javascripts/components/features/notifications/containers | |
parent | 1e9d2c4b1e00e8e68fefe5c04b48f66c827d31d5 (diff) |
Home column filters
Diffstat (limited to 'app/assets/javascripts/components/features/notifications/containers')
-rw-r--r-- | app/assets/javascripts/components/features/notifications/containers/column_settings_container.jsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/notifications/containers/column_settings_container.jsx b/app/assets/javascripts/components/features/notifications/containers/column_settings_container.jsx index 5792e97e3..bc24c75e0 100644 --- a/app/assets/javascripts/components/features/notifications/containers/column_settings_container.jsx +++ b/app/assets/javascripts/components/features/notifications/containers/column_settings_container.jsx @@ -1,6 +1,6 @@ import { connect } from 'react-redux'; import ColumnSettings from '../components/column_settings'; -import { changeSetting } from '../../../actions/settings'; +import { changeSetting, saveSettings } from '../../../actions/settings'; const mapStateToProps = state => ({ settings: state.getIn(['settings', 'notifications']) @@ -10,6 +10,10 @@ const mapDispatchToProps = dispatch => ({ onChange (key, checked) { dispatch(changeSetting(['notifications', ...key], checked)); + }, + + onSave () { + dispatch(saveSettings()); } }); |