From e24624377cd8a9add4e5cbb4a827c39d17a2cf35 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 18 Oct 2025 23:58:24 +0000 Subject: [PATCH] Roadmap: filter phases by focusedPhase cgen-75a357c30bf34d7ebf5362ddb798e73d --- client/pages/Roadmap.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/pages/Roadmap.tsx b/client/pages/Roadmap.tsx index 0835fabd..350bbb78 100644 --- a/client/pages/Roadmap.tsx +++ b/client/pages/Roadmap.tsx @@ -177,7 +177,7 @@ export default function Roadmap() { {/* Phases */}
- {["now","month1","month2","month3"].map((phase) => { + {(focusedPhase ? [focusedPhase] : ["now","month1","month2","month3"]).map((phase) => { const Icon = PhaseIcon[phase] || Target; const items = QUESTS.filter((q) => q.phase === phase); const title = phase === "now" ? "Now" : phase === "month1" ? "Month 1" : phase === "month2" ? "Month 2" : "Month 3";