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


##########
airflow/www/static/js/dag/details/taskInstance/Logs/index.tsx:
##########
@@ -99,12 +98,13 @@ const Logs = ({
   tryNumber,
 }: Props) => {
   const [internalIndexes, externalIndexes] = getLinkIndexes(tryNumber);
-  const [selectedAttempt, setSelectedAttempt] = useState(1);
+  const [manuallySelectedAttempt, setSelectedAttempt] = useState<number | 
undefined>();

Review Comment:
   I decided to remove all use of "attempt" and use `selectedTryNumber` and 
`taskTryNumber` instead.



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