Merged in feat/SW-1450-destination-pages (pull request #1215)
feat(SW-1450): removed country reference from destination city pages * feat(SW-1450): removed country reference from destination city pages Approved-by: Fredrik Thorsson
This commit is contained in:
@@ -19,12 +19,6 @@ export function getConnections({
|
||||
destination_city_page,
|
||||
}: GetDestinationCityPageRefsSchema) {
|
||||
const connections: System["system"][] = [destination_city_page.system]
|
||||
|
||||
connections.push(
|
||||
destination_city_page.destination_settings.countryConnection.edges[0].node
|
||||
.system
|
||||
)
|
||||
|
||||
if (destination_city_page.sidepeek_content) {
|
||||
destination_city_page.sidepeek_content.content.embedded_itemsConnection.edges.forEach(
|
||||
({ node }) => {
|
||||
|
||||
Reference in New Issue
Block a user