Skip to content

Commit

Permalink
Review Feedback, direct commit
Browse files Browse the repository at this point in the history
Co-authored-by: Brent Bovenzi <brent.bovenzi@gmail.com>
  • Loading branch information
jscheffl and bbovenzi authored Nov 1, 2024
1 parent 1c3d555 commit 24c1382
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 (typeof mapIndex !== "undefined" && mapIndex > -1) {
if (mapIndex !== undefined && mapIndex > -1) {
tiHistoryUrl = tiHistoryUrl.replace("/tries", `/${mapIndex}/tries`);
}

Expand Down

0 comments on commit 24c1382

Please sign in to comment.