vchiapaikeo commented on code in PR #35317: URL: https://github.com/apache/airflow/pull/35317#discussion_r1378341742
########## 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: @bbovenzi , do you know if this is a safe assumption to make when the try number is undefined? -- 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-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org