You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by pi...@apache.org on 2024/12/20 15:50:16 UTC
(airflow) branch main updated: Update task try selector dropdown (#45117)
This is an automated email from the ASF dual-hosted git repository.
pierrejeambrun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 7fbe16ab9ca Update task try selector dropdown (#45117)
7fbe16ab9ca is described below
commit 7fbe16ab9ca5e66f8daf85543fdaf56b91bdbf05
Author: Brent Bovenzi <br...@astronomer.io>
AuthorDate: Fri Dec 20 10:50:09 2024 -0500
Update task try selector dropdown (#45117)
---
airflow/ui/src/components/TaskTrySelect.tsx | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/airflow/ui/src/components/TaskTrySelect.tsx b/airflow/ui/src/components/TaskTrySelect.tsx
index 2b85830219a..e6a6778a12d 100644
--- a/airflow/ui/src/components/TaskTrySelect.tsx
+++ b/airflow/ui/src/components/TaskTrySelect.tsx
@@ -116,11 +116,14 @@ export const TaskTrySelect = ({
</Select.ValueText>
</Select.Trigger>
<Select.Content>
- {tryOptions.items.map((option) => (
+ {tryOptions.items.reverse().map((option) => (
<Select.Item item={option} key={option.value}>
- <Status state={option.task_instance.state}>
- {option.value}
- </Status>
+ <span>
+ {option.value}:
+ <Status ml={2} state={option.task_instance.state}>
+ {option.task_instance.state}
+ </Status>
+ </span>
</Select.Item>
))}
</Select.Content>