Fix challenge map display for loopback updated models. Update loopback migration script to auto complete and catch all records.

This commit is contained in:
terakilobyte
2015-06-15 20:53:43 -04:00
parent 3d8b8e4c73
commit 4fa1f25cc2
4 changed files with 26 additions and 24 deletions

View File

@@ -83,7 +83,7 @@ block content
.col-xs-12
ol
for challenge in challengeBlock.challenges
if completedChallengeList.indexOf(challenge.id) > -1
if completedChallengeList.indexOf(challenge.id || challenge._id) > -1
.row
.hidden-xs.col-sm-3.col-md-2.text-primary.ion-checkmark-circled.padded-ionic-icon.text-center.large-p.negative-10
.col-xs-12.col-sm-9.col-md-10