We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b830e48 + 93839a2 commit 4f42280Copy full SHA for 4f42280
app/views/vaccines/index.html.erb
@@ -30,7 +30,7 @@
30
<%= batch.name %>
31
</span>
32
33
- <% if batch.id == @todays_batch_id_by_programme_and_vaccine_methods[vaccine.programme][vaccine.method] %>
+ <% if batch.id == @todays_batch_id_by_programme_and_vaccine_methods&.dig(vaccine.programme, vaccine.method) %>
34
<br>
35
<span class="nhsuk-caption-m">
36
(Your default)
0 commit comments