From 92fbcd7a28030a10a4956d32c92ef1fb517358bd Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Sat, 14 Nov 2026 04:03:46 +1100 Subject: [PATCH] fix(ui): the topbar section crumb names the destination on detail pages (#1880) --- ui/src/components/topbar/SectionCrumb.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/components/topbar/SectionCrumb.vue b/ui/src/components/topbar/SectionCrumb.vue index 408e940e1..718024949 100644 --- a/ui/src/components/topbar/SectionCrumb.vue +++ b/ui/src/components/topbar/SectionCrumb.vue @@ -29,7 +29,8 @@ useLiveResource("tasks", () => void store.load(), 5000); const links = computed(() => navTree(props.hidden).flatMap((node): NavEntry[] => (node.kind === "link" ? [node.entry] : [])), ); -const activePath = computed(() => activeNavPath(route.path)); +// Detail routes carry the primary destination they belong to in meta.navPath. +const activePath = computed(() => (typeof route.meta.navPath === "string" ? route.meta.navPath : activeNavPath(route.path))); const current = computed(() => links.value.find((entry) => entry.path === activePath.value)); const attention = computed(() => { const counts = summary.value?.statuses ?? {};