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

bbovenzi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 18b7013581 Fix details tab not showing when using dynamic task mapping 
(#36522)
18b7013581 is described below

commit 18b701358183762b0b3609627c198c263680eb6e
Author: shohamy7 <[email protected]>
AuthorDate: Wed Jan 3 03:03:16 2024 +0200

    Fix details tab not showing when using dynamic task mapping (#36522)
    
    * Fix details tab not showing when using dynamic task mapping
    
    * Remove unnecessary variable
---
 airflow/www/static/js/dag/details/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/www/static/js/dag/details/index.tsx 
b/airflow/www/static/js/dag/details/index.tsx
index 3c555c701e..ad2662d61e 100644
--- a/airflow/www/static/js/dag/details/index.tsx
+++ b/airflow/www/static/js/dag/details/index.tsx
@@ -301,7 +301,7 @@ const Details = ({
           <TabPanel height="100%">
             {isDag && <DagContent />}
             {isDagRun && <DagRunContent runId={runId} />}
-            {isTaskInstance && (
+            {!!runId && !!taskId && (
               <>
                 <BackToTaskSummary
                   isMapIndexDefined={mapIndex !== undefined && mapIndex > -1}

Reply via email to