fix thinkos - thanks @richvdh for posthoc review
This commit is contained in:
parent
58c431abc2
commit
10a053019d
|
@ -554,14 +554,14 @@ module.exports = React.createClass({
|
||||||
});
|
});
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
// actually explicitly update our state having been deep-manipulating it
|
// actually explicitly update our state having been deep-manipulating it
|
||||||
self.state({
|
self.setState({
|
||||||
masterPushRule: self.state.masterPushRule,
|
masterPushRule: self.state.masterPushRule,
|
||||||
vectorContentRules: self.state.vectorContentRules,
|
vectorContentRules: self.state.vectorContentRules,
|
||||||
vectorPushRules: self.state.vectorPushRules,
|
vectorPushRules: self.state.vectorPushRules,
|
||||||
externalContentRules: self.state.externalContentRules,
|
externalContentRules: self.state.externalContentRules,
|
||||||
externalPushRules: self.state.externalPushRules,
|
externalPushRules: self.state.externalPushRules,
|
||||||
});
|
});
|
||||||
});
|
}).done();
|
||||||
},
|
},
|
||||||
|
|
||||||
_updatePushRuleActions: function(rule, actions, enabled) {
|
_updatePushRuleActions: function(rule, actions, enabled) {
|
||||||
|
|
Loading…
Reference in New Issue