resetear crumbs desde index siempre
This commit is contained in:
parent
53679215a4
commit
3303165624
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue