More notifications fixes
Fix another thing I broke during the refactor
This commit is contained in:
parent
0f0c3d0ca1
commit
5450223cc7
2 changed files with 17 additions and 8 deletions
|
@ -497,8 +497,8 @@ module.exports = React.createClass({
|
|||
// Translate the rule actions and its enabled value into vector state
|
||||
var vectorState;
|
||||
if (rule) {
|
||||
for (var stateKey in PushRuleVectorState) {
|
||||
var state = PushRuleVectorState[stateKey];
|
||||
for (var stateKey in PushRuleVectorState.states) {
|
||||
var state = PushRuleVectorState.states[stateKey];
|
||||
var vectorStateToActions = ruleDefinition.vectorStateToActions[state];
|
||||
|
||||
if (!vectorStateToActions) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue