This is an automated email from the ASF dual-hosted git repository. kbhatt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push: new cf232de ATLAS-4022: profile tab Build fail fix #1 wq cf232de is described below commit cf232de6a1f71fdfbdc0b5d95309a1fe7ed4416c Author: kevalbhatt <kbh...@apache.org> AuthorDate: Thu Nov 19 09:50:36 2020 +0530 ATLAS-4022: profile tab Build fail fix #1 wq --- dashboardv2/public/js/views/graph/ProfileBarChart.js | 4 ++-- dashboardv3/public/js/views/graph/ProfileBarChart.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dashboardv2/public/js/views/graph/ProfileBarChart.js b/dashboardv2/public/js/views/graph/ProfileBarChart.js index d5a974d..d6ab7a8 100644 --- a/dashboardv2/public/js/views/graph/ProfileBarChart.js +++ b/dashboardv2/public/js/views/graph/ProfileBarChart.js @@ -19,7 +19,7 @@ define(["require", "d3", "d3-tip"], function(require, d3, d3Tip) { "use strict"; var ProfileBarChart = { - render(options) { + render: function(options) { var el = options.el, type = options.data.key, data = options.data.values, @@ -117,7 +117,7 @@ define(["require", "d3", "d3-tip"], function(require, d3, d3Tip) { return x(d.value); }) .attr("width", x.bandwidth()) - .attr("y", d => { return height; }) + .attr("y", function(d) { return height; }) .attr("height", 0) .on("click", function(e) { tooltip.hide(); diff --git a/dashboardv3/public/js/views/graph/ProfileBarChart.js b/dashboardv3/public/js/views/graph/ProfileBarChart.js index d5a974d..d6ab7a8 100644 --- a/dashboardv3/public/js/views/graph/ProfileBarChart.js +++ b/dashboardv3/public/js/views/graph/ProfileBarChart.js @@ -19,7 +19,7 @@ define(["require", "d3", "d3-tip"], function(require, d3, d3Tip) { "use strict"; var ProfileBarChart = { - render(options) { + render: function(options) { var el = options.el, type = options.data.key, data = options.data.values, @@ -117,7 +117,7 @@ define(["require", "d3", "d3-tip"], function(require, d3, d3Tip) { return x(d.value); }) .attr("width", x.bandwidth()) - .attr("y", d => { return height; }) + .attr("y", function(d) { return height; }) .attr("height", 0) .on("click", function(e) { tooltip.hide();