refactor: move LoyaltyPageBreadcrumbs fragment to separate file

This commit is contained in:
Matilda Landström
2024-05-28 15:45:30 +02:00
parent 3b14b9fa48
commit 9d52838569
4 changed files with 25 additions and 26 deletions

View File

@@ -0,0 +1,23 @@
fragment LoyaltyPageBreadcrumbs on LoyaltyPage {
web {
breadcrumbs {
title
parentsConnection {
edges {
node {
... on AccountPage {
breadcrumbs {
title
}
system {
locale
uid
}
url
}
}
}
}
}
}
}

View File

@@ -21,27 +21,3 @@ fragment AccountPageBreadcrumbs on AccountPage {
}
}
}
fragment LoyaltyPageBreadcrumbs on LoyaltyPage {
web {
breadcrumbs {
title
parentsConnection {
edges {
node {
... on AccountPage {
breadcrumbs {
title
}
system {
locale
uid
}
url
}
}
}
}
}
}
}