resetear crumbs desde index siempre

This commit is contained in:
Cat /dev/Nulo 2023-08-31 09:41:16 -03:00
parent 53679215a4
commit 3303165624

View file

@ -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;
});