You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/02/25 00:04:58 UTC

[GitHub] [airflow] ryanahamilton commented on a change in pull request #21740: Make Grid and and Graph view work with task mapping

ryanahamilton commented on a change in pull request #21740:
URL: https://github.com/apache/airflow/pull/21740#discussion_r814132099



##########
File path: airflow/www/static/js/tree/InstanceTooltip.jsx
##########
@@ -88,6 +97,17 @@ const InstanceTooltip = ({
           {groupSummary}
         </>
       )}
+      {group.isMapped && (
+        <>
+          <br />
+          <Text as="strong">
+            {mappedStates.length}
+            {' '}
+            Tasks Mapped

Review comment:
       Should this be `mappedStates.length === 1 ? 'Task' : 'Tasks'`?




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org