From c9a7e4aea5bb74e1b81ce5305f5725ee18304ca3 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Tue, 20 Jan 2026 16:42:10 +0530 Subject: [PATCH] fix: removed dashboard from breadcrumb --- surfsense_web/components/dashboard-breadcrumb.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/surfsense_web/components/dashboard-breadcrumb.tsx b/surfsense_web/components/dashboard-breadcrumb.tsx index 0e9374fdd..d1b5d3bc1 100644 --- a/surfsense_web/components/dashboard-breadcrumb.tsx +++ b/surfsense_web/components/dashboard-breadcrumb.tsx @@ -76,10 +76,7 @@ export function DashboardBreadcrumb() { const segments = path.split("/").filter(Boolean); const breadcrumbs: BreadcrumbItemInterface[] = []; - // Always start with Dashboard - breadcrumbs.push({ label: t("dashboard"), href: "/dashboard" }); - - // Handle search space + // Handle search space (start directly with search space, skip "Dashboard") if (segments[0] === "dashboard" && segments[1]) { // Use the actual search space name if available, otherwise fall back to the ID const searchSpaceLabel = searchSpace?.name || `${t("search_space")} ${segments[1]}`;