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,
isUpcoming = false,
hasSearch = false,
hasTopics = true,
hasTopics = false,
} = Astro.props;
const isRoadmapReady = !isUpcoming;

@ -27,6 +27,7 @@ const roadmapData = roadmapFile.frontmatter as RoadmapFrontmatter;
description={roadmapData.description}
title={roadmapData.title}
roadmapPermalink={`/${roadmapId}`}
hasTopics={roadmapData.hasTopics}
/>
{

Loading…
Cancel
Save