kaxil commented on a change in pull request #8220: Make Gantt tooltip the same 
as Tree and Graph view
URL: https://github.com/apache/airflow/pull/8220#discussion_r406107828
 
 

 ##########
 File path: airflow/www/static/js/gantt-chart-d3v2.js
 ##########
 @@ -118,18 +106,17 @@ d3.gantt = function() {
   var timeDomainEnd = d3.time.hour.offset(new Date(),+3);
   var timeDomainMode = FIT_TIME_DOMAIN_MODE;// fixed or fit
   var taskTypes = [];
-  var taskStatus = [];
   var height = document.body.clientHeight - margin.top - margin.bottom-5;
   var width = $('.gantt').width() - margin.right - margin.left-5;
 
   var tickFormat = "%H:%M";
 
   var keyFunction = function(d) {
-    return d.startDate + d.taskName + d.endDate;
+    return d.start_ate + d.task_id + d.end_date;
 
 Review comment:
   ```suggestion
       return d.start_date + d.task_id + d.end_date;
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to