Skip to content

Commit

Permalink
Fix tries disappearing when first try is selected out of multiple tri…
Browse files Browse the repository at this point in the history
…es. (#45206)

Check for taskInstance.try_number to show tries instead of current selected tryNumber
that makes other tries to disappear on selection of first try.
  • Loading branch information
tirkarthi authored Dec 25, 2024
1 parent b87ed75 commit 2bb13c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/ui/src/pages/TaskInstance/Logs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const Logs = () => {
<HStack justifyContent="space-between" mb={2}>
{taskInstance === undefined ||
tryNumber === undefined ||
tryNumber <= 1 ? (
taskInstance.try_number <= 1 ? (
<div />
) : (
<TaskTrySelect
Expand Down

0 comments on commit 2bb13c7

Please sign in to comment.