From 5fd6b887de5e0bead322d412b2e9c17276fa99b1 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 11 Aug 2022 23:09:42 +0100 Subject: [PATCH] Hide chart for non-main queries --- core/templates/ui/drilldown/table_results.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/core/templates/ui/drilldown/table_results.html b/core/templates/ui/drilldown/table_results.html index 8ccbe0f..3c25f25 100644 --- a/core/templates/ui/drilldown/table_results.html +++ b/core/templates/ui/drilldown/table_results.html @@ -26,12 +26,14 @@ {% endif %} {% endif %} -
-
- + {% if params.index == 'main' %} +
+
+ +
+
- -
+ {% endif %} {% include 'ui/drilldown/table_results_partial.html' %} {% endif %} {# Update the tags in case the user changed the query #}