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; }