Skip to content

Commit

Permalink
Now shows error when no data retrieved
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMillar-CGI committed Apr 15, 2024
1 parent 5325038 commit 9b78304
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ <h1 class="govuk-heading-xl govuk-!-margin-bottom-2">
{% endif %}


{% if 'postcode' not in request.args or form.postcode.errors %}
{% if 'postcode' not in request.args or form.postcode.errors or data.count == 0 %}

{{ category_information(category) }}

Expand Down

0 comments on commit 9b78304

Please sign in to comment.