Do not display hidden pages

pull/1657/head
Kamran Ahmed 5 years ago
parent 545d0ab819
commit 5b4d27ce78
  1. 4
      components/detailed-roadmap/index.js

@ -18,6 +18,10 @@ const DetailedRoadmap = ({ roadmap }) => {
} = roadmap; } = roadmap;
const roadmapPages = Object.keys(sidebar || {}).map(groupTitle => { const roadmapPages = Object.keys(sidebar || {}).map(groupTitle => {
if (groupTitle.startsWith('_')) {
return;
}
return ( return (
<div className='links-group'> <div className='links-group'>
<h3>{ groupTitle }</h3> <h3>{ groupTitle }</h3>

Loading…
Cancel
Save