From daa268c3bf1d73e3ba56007497bf48420c3d8e91 Mon Sep 17 00:00:00 2001 From: Edward Scull <168075059+edwardscull@users.noreply.github.com> Date: Mon, 30 Sep 2024 15:53:13 +0100 Subject: [PATCH] badge count check (#156) --- src/components/card/card.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/card/card.njk b/src/components/card/card.njk index 5aa0aef..6ff9647 100644 --- a/src/components/card/card.njk +++ b/src/components/card/card.njk @@ -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 -%}