The icon was incorrectly shown in all menus and all levels.
{if $menuItemNode->getOutstandingItems() > 0}
<span class="boxMenuLinkOutstandingItems badge badgeUpdate" aria-label="{lang}wcf.page.menu.outstandingItems{/lang}">{#$menuItemNode->getOutstandingItems()}</span>
{/if}
- {if $menuItemNode->hasChildren()}
+ {if $menuIdentifier == 'com.woltlab.wcf.MainMenu' && $menuItemNode->hasChildren() && $menuItemNode->getDepth() == 1}
{icon name='caret-down' type='solid'}
{/if}
</a>
WCF::getTPL()->assign([
'menuItemNodeList' => $this->getMenuItemNodeList(),
'menuTitle' => $this->getTitle(),
+ 'menuIdentifier' => $this->identifier,
]);
return WCF::getTPL()->fetch('__menu');