1
0
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:
Kamran Ahmed
2023-01-02 23:06:37 +04:00
parent 9144002b89
commit 5b4ed23946
2 changed files with 2 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ const {
roadmapPermalink,
isUpcoming = false,
hasSearch = false,
hasTopics = true,
hasTopics = false,
} = Astro.props;
const isRoadmapReady = !isUpcoming;

View File

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