bbovenzi commented on code in PR #57053:
URL: https://github.com/apache/airflow/pull/57053#discussion_r2466898415


##########
airflow-core/src/airflow/ui/src/pages/XCom/XCom.tsx:
##########
@@ -82,18 +82,24 @@ const columns = (translate: (key: string) => string, open: 
boolean): Array<Colum
             taskId: original.task_id,
           })}
         >
-          <TruncatedText text={original.task_id} />
+          <TruncatedText text={original.task_display_name || original.task_id} 
/>
         </RouterLink>
       </Link>
     ),
     enableSorting: false,
-    header: translate("common:taskId"),
+    header: translate("common:task_one"),
   },
   {
     accessorKey: "map_index",
     enableSorting: false,
     header: translate("common:mapIndex"),
   },
+  {
+    accessorKey: "timestamp",
+    cell: ({ row: { original } }) => new 
Date(original.timestamp).toLocaleString(),

Review Comment:
   You can just pass `header: translate("dashboard:timestamp")`. no need to 
pass a function component.



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