Skip to content

Commit

Permalink
badge count check (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardscull authored Sep 30, 2024
1 parent 200b4cc commit daa268c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/card/card.njk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% from "../badge/large/macro.njk" import nhsappBadgeLarge %}
{% from "../../styles/icon/macro.njk" import nhsappIcon %}

{% set hasBadgeLarge = true if params.badgeLarge.count > 1 %}
{% set hasBadgeLarge = true if params.badgeLarge.count > 0 %}

{%- if params.isListItem -%}
<li class="nhsapp-card
Expand Down

0 comments on commit daa268c

Please sign in to comment.