feat: add LoyaltyPage handling

This commit is contained in:
Arvid Norlin
2024-04-11 10:45:06 +02:00
parent 21c5d12d55
commit ff8ea6d86a
3 changed files with 27 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ export default async function MyPagesLayout({
case PageLinkEnum.ContentPage:
return node.web.url
case PageLinkEnum.AccountPage:
case PageLinkEnum.LoyaltyPage:
case PageLinkEnum.CodeDefinedPage:
return node.url
}
@@ -40,7 +41,6 @@ export default async function MyPagesLayout({
return navigationItems.map(({ item }): MenuItem => {
const { node } = item.pageConnection.edges[0]
console.log({ node })
const {
title,
system: { uid },