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:
parent
8cc009ceeb
commit
eefcbb554d
1 changed files with 6 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue