Merged in fix/move-sas-comparison-to-dynamic-content (pull request #1279)
Move SASTierComparison block to DynamicContent Approved-by: Erik Tiekstra
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
fragment SasTierComparison_ContentPage on ContentPageBlocksSasTierComparison {
|
||||
__typename
|
||||
sas_tier_comparison {
|
||||
comparisonConnection {
|
||||
totalCount
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
... on SasTierComparison {
|
||||
title
|
||||
preamble
|
||||
scandic_column_title
|
||||
sas_column_title
|
||||
tier_matches {
|
||||
title
|
||||
scandic_friends_tier_name
|
||||
sas_eb_tier_name
|
||||
content {
|
||||
json
|
||||
}
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
cta {
|
||||
title
|
||||
href
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,6 @@
|
||||
#import "../../Fragments/Blocks/Table.graphql"
|
||||
#import "../../Fragments/Blocks/TextCols.graphql"
|
||||
#import "../../Fragments/Blocks/UspGrid.graphql"
|
||||
#import "../../Fragments/Blocks/SasTierComparison.graphql"
|
||||
#import "../../Fragments/ContentPage/NavigationLinks.graphql"
|
||||
|
||||
#import "../../Fragments/Sidebar/Content.graphql"
|
||||
@@ -76,15 +75,6 @@ query GetContentPageBlocksBatch2($locale: String!, $uid: String!) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetContentPageBlocksBatch3($locale: String!, $uid: String!) {
|
||||
content_page(uid: $uid, locale: $locale) {
|
||||
blocks {
|
||||
__typename
|
||||
...SasTierComparison_ContentPage
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetContentPageRefs($locale: String!, $uid: String!) {
|
||||
content_page(locale: $locale, uid: $uid) {
|
||||
header {
|
||||
|
||||
24
lib/graphql/Query/SASTierComparison.graphql
Normal file
24
lib/graphql/Query/SASTierComparison.graphql
Normal file
@@ -0,0 +1,24 @@
|
||||
query GetAllSasTierComparison($lang: String!) {
|
||||
all_sas_tier_comparison(locale: $lang) {
|
||||
items {
|
||||
scandic_column_title
|
||||
sas_column_title
|
||||
tier_matches {
|
||||
title
|
||||
scandic_friends_tier_name
|
||||
sas_eb_tier_name
|
||||
content {
|
||||
json
|
||||
}
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
cta {
|
||||
title
|
||||
href
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user