diff --git a/app/assets/javascripts/discourse/app/templates/user/summary.hbs b/app/assets/javascripts/discourse/app/templates/user/summary.hbs index fc06688d10f..2bdb0cdc1b1 100644 --- a/app/assets/javascripts/discourse/app/templates/user/summary.hbs +++ b/app/assets/javascripts/discourse/app/templates/user/summary.hbs @@ -46,7 +46,7 @@ {{user-stat value=model.post_count label="user.summary.post_count"}} {{/link-to}} - {{plugin-outlet name="user-summary-stat" connectorTagName="li" args=(hash model=model)}} + {{plugin-outlet name="user-summary-stat" connectorTagName="li" args=(hash model=model user=user)}} {{/if}} @@ -157,7 +157,7 @@ {{#each model.badges as |badge|}} {{badge-card badge=badge count=badge.count username=user.username_lower}} {{/each}} - {{plugin-outlet name="after-user-summary-badges" args=(hash model=model)}} + {{plugin-outlet name="after-user-summary-badges" args=(hash model=model user=user)}} {{else}}
{{i18n "user.summary.no_badges"}}