Skip to content
Snippets Groups Projects
Commit 9a2ff67c authored by Ivica Puljic's avatar Ivica Puljic Committed by Ivica Puljic
Browse files

Issue #3371923 by pivica: Better check for empty wrapper_attributes in item-list template

parent 749697a9
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@
* @ingroup themeable
*/
#}
{% if wrapper_attributes and (items or empty) -%}
{% if (wrapper_attributes.storage is not empty) and (items or empty) -%}
<div{{ wrapper_attributes }}>
{% include '@system/item-list.html.twig' %}
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment