fix thinkos - thanks @richvdh for posthoc review

This commit is contained in:
Matthew Hodgson 2016-04-17 17:35:17 +01:00
parent 58c431abc2
commit 10a053019d

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) {