diff --git a/src/gatsby/src/templates/park.js b/src/gatsby/src/templates/park.js index a21af0b14..c57603a8d 100644 --- a/src/gatsby/src/templates/park.js +++ b/src/gatsby/src/templates/park.js @@ -74,7 +74,7 @@ export default function ParkTemplate({ data }) { const activeFacilities = combineFacilities(park.parkFacilities, data.allStrapiFacilityType.nodes, subAreas); const activeCampings = combineCampingTypes(park.parkCampingTypes, data.allStrapiCampingType.nodes, subAreas); - const hasReservations = operations.hasFrontcountryReservations + const hasReservations = operations.hasReservations const hasDayUsePass = operations.hasDayUsePass const menuContent = data?.allStrapiMenu?.nodes || [] @@ -637,6 +637,7 @@ export const query = graphql` } parkOperation { isActive + hasReservations hasBackcountryReservations hasBackcountryPermits hasDayUsePass diff --git a/src/gatsby/src/templates/site.js b/src/gatsby/src/templates/site.js index 786e33783..3e7b065a5 100644 --- a/src/gatsby/src/templates/site.js +++ b/src/gatsby/src/templates/site.js @@ -58,7 +58,7 @@ export default function SiteTemplate({ data }) { const activeFacilities = combineFacilities(site.parkFacilities, data.allStrapiFacilityType.nodes, subAreas); const activeCampings = combineCampingTypes(site.parkCampingTypes, data.allStrapiCampingType.nodes, subAreas); - const hasReservations = operations.hasFrontcountryReservations + const hasReservations = operations.hasReservations const hasDayUsePass = operations.hasDayUsePass const menuContent = data?.allStrapiMenu?.nodes || [] @@ -571,6 +571,7 @@ export const query = graphql` } parkOperation { isActive + hasReservations hasBackcountryReservations hasBackcountryPermits hasDayUsePass