Skip to content

Commit

Permalink
badge count check
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardScull committed Sep 30, 2024
1 parent 200b4cc commit 7c3883b
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 7c3883b

Please sign in to comment.