Merge pull request #5793 from SaintPeter/fix/checkpoints-missing-profile

Fix display of Checkpoints in Profile Page
This commit is contained in:
Logan Tegman
2016-01-02 17:49:39 -08:00

View File

@@ -192,7 +192,7 @@ module.exports = function(app) {
}); });
const waypoints = profileUser.completedChallenges.filter(function(obj) { const waypoints = profileUser.completedChallenges.filter(function(obj) {
return (obj.name || '').match(/^Waypoint/i); return (obj.name || '').match(/^Waypoint|^Checkpoint/i);
}); });
res.render('account/show', { res.render('account/show', {