fix: add all pages as possible references
This commit is contained in:
@@ -1,8 +1,16 @@
|
||||
#import "../PageLink/ContentPageLink.graphql"
|
||||
#import "../PageLink/HotelPageLink.graphql"
|
||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||
#import "../PageLink/CollectionPageLink.graphql"
|
||||
#import "../PageLink/AccountPageLink.graphql"
|
||||
|
||||
fragment NavigationLinks on ContentPageHeader {
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../CollectionPage/Ref.graphql"
|
||||
#import "../HotelPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
#import "../AccountPage/Ref.graphql"
|
||||
|
||||
fragment NavigationLinks_ContentPage on ContentPageHeader {
|
||||
navigation_links {
|
||||
title
|
||||
linkConnection {
|
||||
@@ -12,6 +20,25 @@ fragment NavigationLinks on ContentPageHeader {
|
||||
...HotelPageLink
|
||||
...ContentPageLink
|
||||
...LoyaltyPageLink
|
||||
...CollectionPageLink
|
||||
...AccountPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment NavigationLinksRef_ContentPage on ContentPageHeader {
|
||||
navigation_links {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...ContentPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...CollectionPageRef
|
||||
...AccountPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user