Skip to content

Commit

Permalink
TOSQUASH: any call on citizens actions straight on the instance variable
Browse files Browse the repository at this point in the history
  • Loading branch information
huwd committed Dec 6, 2019
1 parent a4eb96e commit a7f78b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/brexit_checker/results.html.erb
Expand Up @@ -67,8 +67,8 @@
</div>
</div>

<% if @business_results[:actions].any? || @citizen_results.any? %>
<%= render 'results_business_actions', business_results: @business_results if @business_results[:actions].any? %>
<% if @business_results.any? || @citizen_results.any? %>
<%= render 'results_business_actions', business_results: @business_results if @business_results.any? %>
<%= render 'results_citizen_actions', citizen_results: @citizen_results if @citizen_results.any? %>
<% else %>
<%= render 'results_with_no_actions', criteria: @criteria %>
Expand Down

0 comments on commit a7f78b2

Please sign in to comment.