Skip to content

Commit

Permalink
CMS-367: Change the wording in tldr (#1467)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayumi-oxd authored Sep 10, 2024
1 parent 604ffd1 commit e521bb3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/gatsby/src/components/park/parkHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default function ParkHeader({
</p>
{(campings.length > 0 || facilities.length > 0) && (
<p>
{campings.length > 0 && <>Check <a href="#camping">campgrounds</a></>}
{campings.length > 0 && <>Check <a href="#camping">camping</a></>}
{facilities.length > 0 &&
<>
{campings.length > 0 ? " and " : "Check "}
Expand Down
3 changes: 2 additions & 1 deletion src/gatsby/src/components/park/subArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ export default function SubArea({ data, showHeading }) {
) : (
data.operationDates.length > 0 ? (
<>
{data.operationDates[0].includes("Year-round") ? "Limited services" : "No services"}
{data.operationDates[0].toLowerCase().includes("year-round") ?
"Limited services" : "No services"}
</>
) : (
<>Not known</>
Expand Down
3 changes: 2 additions & 1 deletion src/gatsby/src/pages/plan-your-trip/park-operating-dates.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ const ParkLink = ({ park, advisories }) => {
) : (
subArea.operationDates.length > 0 ? (
<>
{subArea.operationDates[0].includes("Year-round") ? "Limited services" : "No services"}
{subArea.operationDates[0].toLowerCase().includes("year-round") ?
"Limited services" : "No services"}
</>
) : (
<>Not known</>
Expand Down

0 comments on commit e521bb3

Please sign in to comment.