Merge pull request #5793 from SaintPeter/fix/checkpoints-missing-profile
Fix display of Checkpoints in Profile Page
This commit is contained in:
@ -192,7 +192,7 @@ module.exports = function(app) {
|
||||
});
|
||||
|
||||
const waypoints = profileUser.completedChallenges.filter(function(obj) {
|
||||
return (obj.name || '').match(/^Waypoint/i);
|
||||
return (obj.name || '').match(/^Waypoint|^Checkpoint/i);
|
||||
});
|
||||
|
||||
res.render('account/show', {
|
||||
|
Reference in New Issue
Block a user