feluelle commented on a change in pull request #5909: [AIRFLOW-4391] Fix 
tooltip for None-State Tasks in 'Recent Tasks'
URL: https://github.com/apache/airflow/pull/5909#discussion_r317373740
 
 

 ##########
 File path: airflow/www/templates/airflow/dags.html
 ##########
 @@ -403,7 +403,13 @@ <h2>DAGs</h2>
       });
       d3.json("{{ url_for('Airflow.task_stats') }}", function(error, json) {
         for(var dag_id in json) {
-            states = json[dag_id];
+            states = json[dag_id].map(task => {
 
 Review comment:
   Sounds reasonable. If we do want to keep the null state instead of none, 
your solution is better 👍 

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