fix(SW-190): added cache for content page query and added breadcrumbs fetching for content page
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#import "../Fragments/ContentPage/Breadcrumbs.graphql"
|
||||
#import "../Fragments/Refs/ContentPage/Breadcrumbs.graphql"
|
||||
|
||||
query GetContentPageBreadcrumbs($locale: String!, $url: String!) {
|
||||
all_content_page(locale: $locale, where: { url: $url }) {
|
||||
items {
|
||||
...ContentPageBreadcrumbs
|
||||
system {
|
||||
uid
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetContentPageBreadcrumbsRefs($locale: String!, $url: String!) {
|
||||
all_content_page(locale: $locale, where: { url: $url }) {
|
||||
items {
|
||||
...ContentPageBreadcrumbsRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user