diff --git a/site/theme/template/Content/MainContent.jsx b/site/theme/template/Content/MainContent.jsx index 8706797b1e..488225c46c 100644 --- a/site/theme/template/Content/MainContent.jsx +++ b/site/theme/template/Content/MainContent.jsx @@ -170,7 +170,7 @@ export default class MainContent extends React.Component { } flattenMenu(menu) { - if (menu && menu.type && !menu.type.isSubMenu && !menu.type.isMenuItemGroup) { + if (menu && menu.type && menu.type.isMenuItem) { return menu; } if (Array.isArray(menu)) {