fix: refactor language switcher
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#import "../Fragments/Footer/Navigation.graphql"
|
||||
#import "../Fragments/Footer/SocialMedia.graphql"
|
||||
#import "../Fragments/Footer/TripAdvisor.graphql"
|
||||
#import "../Fragments/Refs/System.graphql"
|
||||
|
||||
query GetCurrentFooter($locale: String!) {
|
||||
all_current_footer(limit: 1, locale: $locale) {
|
||||
@@ -24,3 +25,13 @@ query GetCurrentFooter($locale: String!) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetCurrentFooterRef($locale: String!) {
|
||||
all_current_footer(limit: 1, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user