Skip to content

Commit d247738

Browse files
committed
MAGETWO-37904: [GitHub] Admin menu with 1 submenu item does not show the subitem #1292
- minor fix
1 parent 2015f5c commit d247738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Backend/Block/Menu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ public function renderNavigation($menu, $level = 0, $limit = 0, $colBrakes = [])
455455
}
456456

457457
$id = $this->getJsId($menuItem->getId());
458-
if (count($menu) > 1 || $level != 1) {
458+
if (count($menu) > 0 || $level != 1) {
459459
$output .= '<li ' . $this->getUiId(
460460
$menuItem->getId()
461461
) . ' class="item-' . $itemClass . ' ' . $this->_renderItemCssClass(

0 commit comments

Comments
 (0)