diff options
author | Marc Neudert <marc.neudert@gmail.com> | 2017-09-15 02:16:51 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-09-15 02:16:51 +0300 |
commit | 14b6c3818133cc262814a11339eb928653c446e5 (patch) | |
tree | 015f885d48658d0f47ba98ae3fa19c6621d35b2f | |
parent | edca7237391e3217a0f7f31309c4514de7aef890 (diff) |
Hide limit control in empty data tables (#11941)3.1.1-b1
-rw-r--r-- | plugins/CoreHome/templates/_dataTableFooter.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/templates/_dataTableFooter.twig b/plugins/CoreHome/templates/_dataTableFooter.twig index ef043e6090..9aa46ebb3f 100644 --- a/plugins/CoreHome/templates/_dataTableFooter.twig +++ b/plugins/CoreHome/templates/_dataTableFooter.twig @@ -21,7 +21,7 @@ {% include "@CoreHome/_dataTableActions.twig" %} </div> - {% if properties.show_footer_icons and properties.show_pagination_control or properties.show_limit_control %} + {% if not isDataTableEmpty and (properties.show_footer_icons and properties.show_pagination_control or properties.show_limit_control) %} <div class="col s3 m3 limitSelection" title="{{ 'General_RowsToDisplay'|translate }}" alt="{{ 'General_RowsToDisplay'|translate }}" ></div> |