From 20fb5a2237182a24639e82ae3b476ecc7beb7f23 Mon Sep 17 00:00:00 2001 From: i-trytoohard Date: Sun, 17 May 2026 15:40:13 +0000 Subject: [PATCH] fix(web): break circular links in DegradedProjectState MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both "Back to project" and "Open dashboard view" linked to projectDashboardPath(projectId) — the same page the component is rendered on. Replace with working navigation: - "Back to project" → "/" (global dashboard) - "Open dashboard view" → "/projects/{id}/settings" (edit config) Fixes #1867 --- packages/web/src/components/DegradedProjectState.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/web/src/components/DegradedProjectState.tsx b/packages/web/src/components/DegradedProjectState.tsx index c1b147f63..399165893 100644 --- a/packages/web/src/components/DegradedProjectState.tsx +++ b/packages/web/src/components/DegradedProjectState.tsx @@ -1,5 +1,5 @@ import Link from "next/link"; -import { projectDashboardPath } from "@/lib/routes"; + import { RepairDegradedProjectButton } from "./RepairDegradedProjectButton"; interface DegradedProjectStateProps { @@ -61,16 +61,16 @@ export function DegradedProjectState({
- Back to project + Back to dashboard - Open dashboard view + Edit settings