mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
Merge pull request #5793 from SaintPeter/fix/checkpoints-missing-profile
Fix display of Checkpoints in Profile Page
This commit is contained in:
commit
d1bf5bf4af
@ -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', {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user