From d8c6257429ff4844322fc479f1729f5e4b206f69 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 18 Dec 2023 22:47:03 -0500 Subject: [PATCH] fix: Extra entry on end of breadcrumb --- app/components/DocumentBreadcrumb.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/DocumentBreadcrumb.tsx b/app/components/DocumentBreadcrumb.tsx index f8a262dcc..6426f7733 100644 --- a/app/components/DocumentBreadcrumb.tsx +++ b/app/components/DocumentBreadcrumb.tsx @@ -127,7 +127,7 @@ const DocumentBreadcrumb: React.FC = ({ return ( <> {collection?.name} - {path.map((node: NavigationNode) => ( + {path.slice(0, -1).map((node: NavigationNode) => ( {node.title}