This is an automated email from the ASF dual-hosted git repository.

kbhatt pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 4cc9f1d  ATLAS-4022: profile tab Build fail fix #1
4cc9f1d is described below

commit 4cc9f1de03d4946e0f11b2e75ab5693eb367c285
Author: kevalbhatt <kbh...@apache.org>
AuthorDate: Thu Nov 19 09:50:36 2020 +0530

    ATLAS-4022: profile tab Build fail fix #1
    
    (cherry picked from commit cf232de6a1f71fdfbdc0b5d95309a1fe7ed4416c)
---
 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();

Reply via email to