mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-12 04:04:08 +02:00
Fix Search Topics shown on all roadmaps
This commit is contained in:
@@ -19,7 +19,7 @@ const {
|
|||||||
roadmapPermalink,
|
roadmapPermalink,
|
||||||
isUpcoming = false,
|
isUpcoming = false,
|
||||||
hasSearch = false,
|
hasSearch = false,
|
||||||
hasTopics = true,
|
hasTopics = false,
|
||||||
} = Astro.props;
|
} = Astro.props;
|
||||||
|
|
||||||
const isRoadmapReady = !isUpcoming;
|
const isRoadmapReady = !isUpcoming;
|
||||||
|
@@ -27,6 +27,7 @@ const roadmapData = roadmapFile.frontmatter as RoadmapFrontmatter;
|
|||||||
description={roadmapData.description}
|
description={roadmapData.description}
|
||||||
title={roadmapData.title}
|
title={roadmapData.title}
|
||||||
roadmapPermalink={`/${roadmapId}`}
|
roadmapPermalink={`/${roadmapId}`}
|
||||||
|
hasTopics={roadmapData.hasTopics}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user