Commit 908d01d7 authored by Jon Moore's avatar Jon Moore
Browse files

Navigation now shows first level children

parent 4d6d89e7
Pipeline #24557 passed with stage
in 2 minutes and 51 seconds
......@@ -10,7 +10,7 @@ const HeaderNavigation = ({ className }) => {
if (!rootNode) return null;
const rootNodeJs = rootNode.toJS();
const linksToShow = rootNodeJs.children[1].children.map((link, idx) => {
const linksToShow = rootNodeJs.children.map((link, idx) => {
return (
<li key={idx}>
<Link to={link.path}>{link.displayName}</Link>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment