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


##########
airflow/www/static/js/api/useExtraLinks.ts:
##########
@@ -34,19 +34,22 @@ export default function useExtraLinks({
   executionDate,
   mapIndex,
   extraLinks,
+  tryNumber,
 }: {
   dagId: string;
   taskId: string;
   executionDate: string;
   mapIndex?: number | undefined;
   extraLinks: string[];
+  tryNumber?: number | undefined;
 }) {
   return useQuery(
-    ["extraLinks", dagId, taskId, executionDate, mapIndex],
+    ["extraLinks", dagId, taskId, executionDate, mapIndex, tryNumber],
     async () => {
       const data = await Promise.all(
         extraLinks.map(async (link) => {
           const definedMapIndex = mapIndex ?? -1;
+          const defaultTryNumber = tryNumber ?? 0;

Review Comment:
   Sorry, I just got back from vacation.
   
   Let's not include try number if it isn't defined



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