FIX: Incorrect badge counts when restricted to a username

This commit is contained in:
Robin Ward 2016-03-28 13:27:21 -04:00
parent a307689621
commit b2f402dc04
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
</div>
{{#each bg.badges as |b|}}
{{#link-to 'badges.show' b.id b.slug}}
{{#link-to 'badges.show' b.id b.slug (query-params username=null)}}
{{badge-card badge=b}}
{{/link-to}}
{{/each}}

View File

@ -6,7 +6,7 @@
</h1>
<div class='show-badge-details'>
{{badge-card badge=model size="large"}}
{{badge-card badge=model size="large" count=userBadges.grant_count}}
<div class='badge-grant-info'>
<div>
<div class='grant-info-item'>