Fix Search Topics shown on all roadmaps

astro
Kamran Ahmed 2 years ago
parent 9144002b89
commit 5b4ed23946
  1. 2
      src/components/RoadmapHeader.astro
  2. 1
      src/pages/[roadmapId]/index.astro

@ -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}
/> />
{ {

Loading…
Cancel
Save