diff --git a/src/lib/breadcrumbs.ts b/src/lib/breadcrumbs.ts index b4c4b7c..56b9e29 100644 --- a/src/lib/breadcrumbs.ts +++ b/src/lib/breadcrumbs.ts @@ -26,6 +26,9 @@ class BreadcrumbsStore { } else { crumbs.push(pageId); } + if (crumbs.includes("index")) { + crumbs = crumbs.slice(crumbs.indexOf("index")); + } map.set(worldId, crumbs); return map; });