Skip to content

Commit

Permalink
Hide top controls when report doesn't have data
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkleiner committed Dec 6, 2024
1 parent eafaed8 commit 91d09e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/CoreHome/templates/_dataTable.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

{% set showCardAsContentBlock = (properties.show_as_content_block and properties.show_title and not isWidget) %}
{% set showOnlyTitleWithoutCard = not showCardAsContentBlock and properties.title and properties.show_title %}
{% set showTableActionsInHeader = properties.show_footer and properties.show_footer_icons %}
{% set showTableActionsInHeader = properties.show_footer and properties.show_footer_icons and not isDataTableEmpty %}

{% if showCardAsContentBlock %}
<div class="card">
Expand Down

0 comments on commit 91d09e8

Please sign in to comment.