Skip to content

Commit

Permalink
Fix Try Selector in Mapped Tasks also on Index 0 (apache#43590) Back…
Browse files Browse the repository at this point in the history
…port (apache#43591)

* Fix Try Selector in Mapped Tasks also on Index 0

(cherry picked from commit 1c3d555)

* Review Feedback, direct commit

Co-authored-by: Brent Bovenzi <[email protected]>

---------

Co-authored-by: Brent Bovenzi <[email protected]>
  • Loading branch information
jscheffl and bbovenzi authored Nov 1, 2024
1 parent 38cba7a commit 8269e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/www/static/js/api/useTIHistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function useTIHistory({
.replace("_DAG_RUN_ID_", dagRunId)
.replace("_TASK_ID_", taskId);

if (mapIndex && mapIndex > -1) {
if (mapIndex !== undefined && mapIndex > -1) {
tiHistoryUrl = tiHistoryUrl.replace("/tries", `/${mapIndex}/tries`);
}

Expand Down

0 comments on commit 8269e28

Please sign in to comment.