diff --git a/templates/Pages/Modules/index.twig b/templates/Pages/Modules/index.twig index 9167bd5dd..39a01bb92 100644 --- a/templates/Pages/Modules/index.twig +++ b/templates/Pages/Modules/index.twig @@ -1,7 +1,7 @@ {% do _view.assign('title', __(currentModule.name|humanize)) %} {% set indexViewType = Layout.moduleIndexViewType() %} -{% if not indexViewType in ['calendar', 'tree-compact'] %} +{% if indexViewType not in ['calendar', 'tree-compact'] %} {{ element('Modules/index_header', { 'meta': meta, 'filter': filter, 'Schema': Schema, 'hidePagination': indexViewType == 'tree'}) }} {% endif %}