Fix to allow for challenges with the same award name. Closes #4479

This commit is contained in:
Blade Barringer 2015-01-05 16:33:36 -06:00
parent 8529c0f1db
commit f0c65be629

View file

@ -122,7 +122,7 @@ div(ng-if='profile.achievements.challenges || user._id == profile._id')
div(ng-class='{muted: !profile.achievements.challenges}')
h5=env.t('challengeWinner')
table.table.table-striped
tr(ng-repeat='chal in profile.achievements.challenges')
tr(ng-repeat='chal in profile.achievements.challenges track by $index')
td {{::chal}}
hr
@ -184,4 +184,4 @@ div(ng-if='::profile.achievements.nye')
h5=env.t('auldAcquaintance')
small
=env.t('auldAcquaintanceText', {cards: "{{::profile.achievements.nye}}"})
hr
hr