DEV: Remove redundant args for user-main-nav plugin outlet (#18284)

This commit is contained in:
Alan Guo Xiang Tan 2022-09-20 17:12:15 +08:00 committed by GitHub
parent 27bff3fcfa
commit e7091d2f59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -258,7 +258,7 @@
{{#if this.showBadges}}
<li class="badges"><LinkTo @route="user.badges">{{d-icon "certificate"}}{{i18n 'badges.title'}}</LinkTo></li>
{{/if}}
<PluginOutlet @name="user-main-nav" @tagName="span" @connectorTagName="div" @tagName="" @connectorTagName="li" @args={{hash model=this.model}} />
<PluginOutlet @name="user-main-nav" @connectorTagName="li" @args={{hash model=this.model}} />
{{#if this.model.can_edit}}
<li class="preferences"><LinkTo @route="preferences">{{d-icon "cog"}}{{i18n 'user.preferences'}}</LinkTo></li>
{{/if}}