diff options
author | cwm <chriswmartin@protonmail.com> | 2017-12-30 11:45:01 -0600 |
---|---|---|
committer | cwm <chriswmartin@protonmail.com> | 2017-12-30 11:45:01 -0600 |
commit | 0dce26b82b69f08ba559c08befe941f8839f3ce7 (patch) | |
tree | f547df18feb840352b30cb464e02a18069e828ac /app/javascript/flavours/glitch/features | |
parent | 65c87ca0ae20eb5dc62751047bda3e8b11e37ce0 (diff) |
web push updates (tootsuite PRs #5879, #5941, #6047)
Diffstat (limited to 'app/javascript/flavours/glitch/features')
-rw-r--r-- | app/javascript/flavours/glitch/features/notifications/components/column_settings.js | 1 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/features/notifications/containers/column_settings_container.js | 9 |
2 files changed, 2 insertions, 8 deletions
diff --git a/app/javascript/flavours/glitch/features/notifications/components/column_settings.js b/app/javascript/flavours/glitch/features/notifications/components/column_settings.js index 57cded4f1..23545185c 100644 --- a/app/javascript/flavours/glitch/features/notifications/components/column_settings.js +++ b/app/javascript/flavours/glitch/features/notifications/components/column_settings.js @@ -11,7 +11,6 @@ export default class ColumnSettings extends React.PureComponent { settings: ImmutablePropTypes.map.isRequired, pushSettings: ImmutablePropTypes.map.isRequired, onChange: PropTypes.func.isRequired, - onSave: PropTypes.func.isRequired, onClear: PropTypes.func.isRequired, }; diff --git a/app/javascript/flavours/glitch/features/notifications/containers/column_settings_container.js b/app/javascript/flavours/glitch/features/notifications/containers/column_settings_container.js index ce502700c..479bd411d 100644 --- a/app/javascript/flavours/glitch/features/notifications/containers/column_settings_container.js +++ b/app/javascript/flavours/glitch/features/notifications/containers/column_settings_container.js @@ -1,9 +1,9 @@ import { connect } from 'react-redux'; import { defineMessages, injectIntl } from 'react-intl'; import ColumnSettings from '../components/column_settings'; -import { changeSetting, saveSettings } from 'flavours/glitch/actions/settings'; +import { changeSetting } from 'flavours/glitch/actions/settings'; import { clearNotifications } from 'flavours/glitch/actions/notifications'; -import { changeAlerts as changePushNotifications, saveSettings as savePushNotificationSettings } from 'flavours/glitch/actions/push_notifications'; +import { changeAlerts as changePushNotifications, saveSettings } from 'flavours/glitch/actions/push_notifications'; import { openModal } from 'flavours/glitch/actions/modal'; const messages = defineMessages({ @@ -26,11 +26,6 @@ const mapDispatchToProps = (dispatch, { intl }) => ({ } }, - onSave () { - dispatch(saveSettings()); - dispatch(savePushNotificationSettings()); - }, - onClear () { dispatch(openModal('CONFIRM', { message: intl.formatMessage(messages.clearMessage), |