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.
1 parent a0a52c6 commit 75ae2d3Copy full SHA for 75ae2d3
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