Skip to content

Commit

Permalink
Merge pull request #830 from City-of-Helsinki/UHF-X_tools__container
Browse files Browse the repository at this point in the history
UHF-X: Improve check for tools__container content
  • Loading branch information
khalima authored Nov 21, 2023
2 parents c13ad2c + 365f9e8 commit a98f9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/layout/region--tools.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* @see template_preprocess_region()
*/
#}
{% if content %}
{% if content|render %}
<div{{ attributes.addClass('tools__container') }}>
{{ content }}
</div>
Expand Down

0 comments on commit a98f9e6

Please sign in to comment.