bbovenzi commented on a change in pull request #22272:
URL: https://github.com/apache/airflow/pull/22272#discussion_r828200131



##########
File path: airflow/www/static/js/graph.js
##########
@@ -172,8 +172,8 @@ function draw() {
       const task = tasks[nodeId];
       const tryNumber = taskInstances[nodeId].try_number || 0;
 
-      if (task.task_type === 'SubDagOperator') callModal(nodeId, 
executionDate, task.extra_links, tryNumber, true, dagRunId);
-      else callModal(nodeId, executionDate, task.extra_links, tryNumber, 
undefined, dagRunId);
+      if (task.task_type === 'SubDagOperator') callModal(nodeId, 
executionDate, task.extra_links, tryNumber, true, dagRunId, task.map_index);
+      else callModal(nodeId, executionDate, task.extra_links, tryNumber, 
undefined, dagRunId, task.map_index);

Review comment:
       We probably need the `// eslint-disable-next-line max-len` or to split 
everything into multiple lines.




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to