ACP rewards page fix

v1.18.x
pichalite 9 years ago
parent a133374c0b
commit 0db1caa3f6

@ -115,6 +115,7 @@ function getActiveRewards(callback) {
}
}, function(err, data) {
if (data.main) {
data.main.disabled = data.main.disabled === 'true';
data.main.rewards = data.rewards;
activeRewards.push(data.main);
}
@ -130,4 +131,4 @@ function getActiveRewards(callback) {
});
}
module.exports = rewards;
module.exports = rewards;

Loading…
Cancel
Save