fix thinkos - thanks @richvdh for posthoc review

pull/1431/head
Matthew Hodgson 2016-04-17 17:35:17 +01:00
parent 58c431abc2
commit 10a053019d
1 changed files with 2 additions and 2 deletions

View File

@ -554,14 +554,14 @@ module.exports = React.createClass({
});
}).finally(() => {
// actually explicitly update our state having been deep-manipulating it
self.state({
self.setState({
masterPushRule: self.state.masterPushRule,
vectorContentRules: self.state.vectorContentRules,
vectorPushRules: self.state.vectorPushRules,
externalContentRules: self.state.externalContentRules,
externalPushRules: self.state.externalPushRules,
});
});
}).done();
},
_updatePushRuleActions: function(rule, actions, enabled) {