From 9ddd3943ebb7bcd7e5e8bf9d2ed43b88306e4f72 Mon Sep 17 00:00:00 2001 From: Jan Henckens Date: Fri, 29 Dec 2023 10:30:58 +0100 Subject: [PATCH] Added check for missing subgroup --- src/templates/sprig/element/step_1.twig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/templates/sprig/element/step_1.twig b/src/templates/sprig/element/step_1.twig index 09b187d..3849e06 100644 --- a/src/templates/sprig/element/step_1.twig +++ b/src/templates/sprig/element/step_1.twig @@ -105,7 +105,8 @@ {% if elementOptions.subGroup is defined and (settings and settings.group is defined) %} {% set subGroupSettings = elementOptions.getSubGroup() %} -
+ {% if subGroupSettings %} +
- + {% endif %} {% endif %}
{% endif %}