FIX: Correctly invoke dynamic components by name (#17568)

This commit is contained in:
Jarek Radosz 2022-07-19 11:52:32 +02:00 committed by GitHub
parent 897de60330
commit 59a07e3007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
{{else if this.items.length}}
<ul>
{{#each this.items as |item|}}
<item.userMenuComponent @item={{item}}/>
{{component item.userMenuComponent item=item}}
{{/each}}
</ul>
<div class="panel-body-bottom">
@ -27,5 +27,5 @@
{{/if}}
</div>
{{else}}
<this.emptyStateComponent/>
{{component this.emptyStateComponent}}
{{/if}}

View File

@ -6,7 +6,7 @@
class="quick-access-panel"
tabindex="-1"
aria-labelledby={{concat "user-menu-button-" this.currentTabId}}>
<this.currentPanelComponent/>
{{component this.currentPanelComponent}}
</div>
<div class="menu-tabs-container" role="tablist" aria-orientation="vertical" aria-label={{i18n "user_menu.sr_menu_tabs"}}>
<div class="top-tabs tabs-list">