mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-01 12:20:07 +01:00
ACP rewards page fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user