From 4dc63322f2bb63bea3f6abb456a481ecaf14626a Mon Sep 17 00:00:00 2001 From: Benjamin Bischoff <5775857+bischoffdev@users.noreply.github.com> Date: Mon, 7 Aug 2023 13:21:44 +0200 Subject: [PATCH] V3.3.0 (#318) * version update * re-introduced Maven skip option * re-introduced Maven skip option * removed Twitter link * removed twitter * click on bar charts work * skipped state handling * updated changelog for 3.3.0 * cleaned up js ftl * maven example --- engine/src/main/resources/template/snippets/js.ftl | 3 --- 1 file changed, 3 deletions(-) diff --git a/engine/src/main/resources/template/snippets/js.ftl b/engine/src/main/resources/template/snippets/js.ftl index fc525c97..76b5f4a8 100644 --- a/engine/src/main/resources/template/snippets/js.ftl +++ b/engine/src/main/resources/template/snippets/js.ftl @@ -64,7 +64,6 @@ limitations under the License. }; } else if (chart.config.type === "bar") { <#if (reportDetails.chartUrlLookup?has_content)> - console.log("LOOKUP: " + ${reportDetails.chartUrlLookup?size}) const chartUrls = { <#list reportDetails.chartUrlLookup as stepName, urlFriendlyStepName> "${stepName?js_string}": "${urlFriendlyStepName}", @@ -77,8 +76,6 @@ limitations under the License. const label = chart.data.labels[clickedElementindex]; if (label == null) return; urlSnippet = chartUrls[label]; - //const url = document.evaluate("//a[text()='" + label + "']", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; - console.log(urlSnippet); if (urlSnippet == null) return; window.location.href = urlSnippet; }