Skip to content

Commit

Permalink
Merge pull request #805 from nhsx/chore/ticket-20084
Browse files Browse the repository at this point in the history
Use the correct property in the test for the logic to function
  • Loading branch information
jkeasley authored Sep 10, 2024
2 parents 59ce04f + 2a57a40 commit 3dedcce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/templates/ig_guidance/_partials/guidance.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
<div class="nhsuk-promo">

<a href="{{ guidance.url }}" class="nhsuk-promo__link-wrapper">

{% if guidance.guidance_type != "Panel Guidance" %}
{% if guidance.content_type.name != "Panel Guidance" %}
<span class="nhsai_resource__category">{{ guidance|guidance_type }}</span>
{% endif %}

Expand Down

0 comments on commit 3dedcce

Please sign in to comment.