Merge branch 'master' into staff-notifications

This commit is contained in:
Wyatt Johnson
2018-03-01 11:51:44 -07:00
committed by GitHub
17 changed files with 290 additions and 17 deletions
@@ -1,3 +0,0 @@
{
"extends": "@coralproject/eslint-config-talk"
}
@@ -23,9 +23,9 @@ class SettingsContainer extends React.Component {
hasNotifications: this.state.hasNotifications.filter(i => i !== plugin),
});
setTurnOffInputFragment = fragment =>
this.setState({
turnOffInput: { ...this.state.turnOffInput, ...fragment },
});
this.setState(state => ({
turnOffInput: { ...state.turnOffInput, ...fragment },
}));
turnOffAll = () => {
this.props.updateNotificationSettings(this.state.turnOffInput);