From 3beec9d8d57b43b478f718322ed6a2c55a879b28 Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Tue, 24 Oct 2023 19:45:31 -0400 Subject: [PATCH] Do not render empty facets --- templates/block--facets.html.twig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/block--facets.html.twig b/templates/block--facets.html.twig index 054d344..19e100a 100644 --- a/templates/block--facets.html.twig +++ b/templates/block--facets.html.twig @@ -47,6 +47,7 @@ set classes = classes | merge(['facet-inactive']) %} {% endif %} +{% if content[0]['#items'] is defined %}

+{% endif %} +