Browse Source

Fix footer nav

pull/8230/head
Wei Zhu 7 years ago
parent
commit
b39c5cc569
  1. 2
      site/theme/template/Content/MainContent.jsx

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

Loading…
Cancel
Save