Skip to content

Commit

Permalink
fix for online scheduling link (#2183)
Browse files Browse the repository at this point in the history
  • Loading branch information
eselkin authored Jul 16, 2024
1 parent 94787bc commit 2cfe33c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/site/paragraphs/service_location.drupal.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,11 @@
{% comment %}
Whether to show online scheduling link for either VBA or VAMC
{% endcomment %}
{% assign showOnlineScheduleLink = single.fieldOnlineSchedulingAvail == "yes" %}
{% if single.fieldOnlineSchedulingAvail == "yes" %}
{% assign showOnlineScheduleLink = true %}
{% else %}
{% assign showOnlineScheduleLink = false %}
{% endif %}

{% assign shouldShowAppointmentsHeader = 4 | orFn:shouldShowIntroText, hasAppointmentPhoneNumbers, showMainNumberForAppointments, showOnlineScheduleLink %}

Expand Down

0 comments on commit 2cfe33c

Please sign in to comment.