fix: prepare for removing the old breadcrumbs

This commit is contained in:
Matilda Landström
2024-05-29 14:30:10 +02:00
parent c8247bb2e4
commit c52275c536
8 changed files with 38 additions and 26 deletions
@@ -90,7 +90,7 @@ async function getLoyaltyPageBreadcrumbs({ lang, pathname }: fetchBreadcrumbs) {
href: removeMultipleSlashes(
`/${breadcrumb.node.system.locale}/${breadcrumb.node.url}`
),
title: breadcrumb.node.breadcrumbs.title,
title: breadcrumb.node.web.breadcrumbs.title,
uid: breadcrumb.node.system.uid,
}
}
@@ -157,7 +157,7 @@ async function getMyPagesBreadcrumbs({ lang, pathname }: fetchBreadcrumbs) {
href: removeMultipleSlashes(
`/${breadcrumb.node.system.locale}/${breadcrumb.node.url}`
),
title: breadcrumb.node.breadcrumbs.title,
title: breadcrumb.node.web.breadcrumbs.title,
uid: breadcrumb.node.system.uid,
}
}