Skip to content

Commit

Permalink
VACMS-18822: Make label conditional for Google Directions (#2218)
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskim2311 authored Aug 5, 2024
1 parent 5cfaa5b commit 2c4be2f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/site/includes/directions-google-maps.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ directionsLinkOnClickPropValue

<div>
<va-link
label="Get directions on Google Maps to {{ directionsLinkTitle | strip }}"
{% if directionsLinkTitle != empty %}
label="Get directions on Google Maps to {{ directionsLinkTitle | strip }}"
{% endif %}
href="https://maps.google.com?saddr=Current+Location&amp;daddr={{ directionsLinkAddress | strip }}"
text="Get directions on Google Maps"
/>
</va-link>
/></va-link>
</div>

0 comments on commit 2c4be2f

Please sign in to comment.