You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ki...@apache.org on 2020/08/17 17:21:30 UTC

[incubator-pinot] branch master updated: [TE] frontend - harleyjj/rca - fix heatmap click bug (#5880)

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

kishoreg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new da1fe59  [TE] frontend - harleyjj/rca - fix heatmap click bug (#5880)
da1fe59 is described below

commit da1fe59027128453855d72a21ef0ba56772ef2ac
Author: Harley Jackson <hj...@linkedin.com>
AuthorDate: Mon Aug 17 10:21:16 2020 -0700

    [TE] frontend - harleyjj/rca - fix heatmap click bug (#5880)
---
 .../app/pods/components/heatmap-chart/component.js                | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/thirdeye/thirdeye-frontend/app/pods/components/heatmap-chart/component.js b/thirdeye/thirdeye-frontend/app/pods/components/heatmap-chart/component.js
index 2f31d91..b7b59d2 100644
--- a/thirdeye/thirdeye-frontend/app/pods/components/heatmap-chart/component.js
+++ b/thirdeye/thirdeye-frontend/app/pods/components/heatmap-chart/component.js
@@ -46,7 +46,7 @@ export default Component.extend({
       role,
       dimName,
       dimValue
-    } = subdimension;
+    } = (subdimension.data || {});
 
     if (!onInclude) { return; }
 
@@ -66,8 +66,8 @@ export default Component.extend({
       role,
       dimName,
       dimValue
-    } = subdimension;
-
+    } = (subdimension.data || {});
+    
     if (!onExclude) { return; }
 
     onExclude(role, dimName, dimValue);
@@ -130,7 +130,7 @@ export default Component.extend({
       const nodes = treeMap({name: '0', children: children})
         // specify children of treemap
         .children
-        // only nodes which don't have children 
+        // only nodes which don't have children
         .filter((node) => !node.children);
       this._createCell(div, nodes, tooltipId);
     });


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org