From 9d42423870e6b59c211a3cbda005300c77235447 Mon Sep 17 00:00:00 2001 From: Odei Alba Date: Fri, 21 Mar 2025 17:50:35 +0100 Subject: [PATCH] MDL-84961 core: Avoid loading the hidden table under the chart Remove the table from under the chart when it is disabled, instead of just hiding it. --- lib/templates/chart.mustache | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/lib/templates/chart.mustache b/lib/templates/chart.mustache index fdb9a944214..c1390dd5b23 100644 --- a/lib/templates/chart.mustache +++ b/lib/templates/chart.mustache @@ -26,15 +26,17 @@ } }}
- - + + {{#withtable}} + + {{/withtable}}
{{#js}}