feat(SW-497): Changed to siteConfig which includes Global Alert
This commit is contained in:
18
lib/graphql/Query/SiteConfig.graphql
Normal file
18
lib/graphql/Query/SiteConfig.graphql
Normal file
@@ -0,0 +1,18 @@
|
||||
#import "../Fragments/GlobalAlert.graphql"
|
||||
|
||||
query GetSiteConfig($locale: String!) {
|
||||
all_site_config(limit: 1, locale: $locale) {
|
||||
items {
|
||||
sitewide_alert {
|
||||
booking_widget_disabled
|
||||
alertConnection {
|
||||
edges {
|
||||
node {
|
||||
...GlobalAlert
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user