Fix footer nav

This commit is contained in:
Wei Zhu 2017-11-17 18:30:17 +08:00
parent ca171f2a20
commit b39c5cc569

View File

@ -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)) {