From e54440a0353c28477bed352663efb3aaa9531f67 Mon Sep 17 00:00:00 2001 From: awesomerobot Date: Thu, 31 Mar 2022 17:46:26 -0400 Subject: [PATCH] DEV: pass user to user-summary outlets --- .../javascripts/discourse/app/templates/user/summary.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"}}