FIX: Correctly invoke dynamic components by name (#17568)
This commit is contained in:
parent
897de60330
commit
59a07e3007
|
@ -5,7 +5,7 @@
|
||||||
{{else if this.items.length}}
|
{{else if this.items.length}}
|
||||||
<ul>
|
<ul>
|
||||||
{{#each this.items as |item|}}
|
{{#each this.items as |item|}}
|
||||||
<item.userMenuComponent @item={{item}}/>
|
{{component item.userMenuComponent item=item}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
<div class="panel-body-bottom">
|
<div class="panel-body-bottom">
|
||||||
|
@ -27,5 +27,5 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<this.emptyStateComponent/>
|
{{component this.emptyStateComponent}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
class="quick-access-panel"
|
class="quick-access-panel"
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
aria-labelledby={{concat "user-menu-button-" this.currentTabId}}>
|
aria-labelledby={{concat "user-menu-button-" this.currentTabId}}>
|
||||||
<this.currentPanelComponent/>
|
{{component this.currentPanelComponent}}
|
||||||
</div>
|
</div>
|
||||||
<div class="menu-tabs-container" role="tablist" aria-orientation="vertical" aria-label={{i18n "user_menu.sr_menu_tabs"}}>
|
<div class="menu-tabs-container" role="tablist" aria-orientation="vertical" aria-label={{i18n "user_menu.sr_menu_tabs"}}>
|
||||||
<div class="top-tabs tabs-list">
|
<div class="top-tabs tabs-list">
|
||||||
|
|
Loading…
Reference in New Issue