FIX: Incorrect badge counts when restricted to a username
This commit is contained in:
parent
a307689621
commit
b2f402dc04
|
@ -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}}
|
||||
|
|
|
@ -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'>
|
||||
|
|
Loading…
Reference in New Issue