From f0df010ac8fec2047431b3223b8e32a2dc81670a Mon Sep 17 00:00:00 2001 From: Ed Horsford Date: Thu, 28 Mar 2019 13:02:01 +0000 Subject: [PATCH] Don't output an empty ul if 0 items provided --- src/components/summary-list/template.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/summary-list/template.njk b/src/components/summary-list/template.njk index 7562bb7d8a..8c94e93fb9 100644 --- a/src/components/summary-list/template.njk +++ b/src/components/summary-list/template.njk @@ -19,7 +19,7 @@
{% if row.actions.items.length == 1 %} {{ _actionLink(row.actions.items[0]) | indent(12) | trim }} - {% else %} + {% elseif row.actions.items.length > 1 %}