2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-10-03 17:21:20 +08:00

DEV: Add outlet wrapper for post avatar flair (#33265)

This adds an outlet wrapper for post avatar flair to keep in line with 
the existing pattern we see with user card and profile avatar flair.
This commit is contained in:
tshenry 2025-06-18 20:29:40 -07:00 committed by GitHub
parent 8cc009ceeb
commit eefcbb554d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,6 +47,12 @@ export default class PostAvatar extends Component {
@user={{this.user}}
/>
<UserAvatarFlair @user={{@post}} />
<div>
<PluginOutlet
@name="post-avatar-flair"
@outletArgs={{lazyHash user=this.user}}
/>
</div>
{{/if}}
{{#if @displayPosterName}}
<div class="post-avatar-user-info"></div>