1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-30 12:40:03 +02:00

Do not display hidden pages

This commit is contained in:
Kamran Ahmed
2019-12-01 15:49:13 +04:00
parent 545d0ab819
commit 5b4d27ce78

View File

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