This is an automated email from the ASF dual-hosted git repository.
bbovenzi 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 9e7b36e5052 Fix bug on the state and run_type filter for Dag Runs page
(#58093)
9e7b36e5052 is described below
commit 9e7b36e5052c2bf8bfb499d7652349926a1f0fc1
Author: Sean Yu <[email protected]>
AuthorDate: Fri Nov 21 05:45:16 2025 +0800
Fix bug on the state and run_type filter for Dag Runs page (#58093)
* fix bug on the state and run_type filter for Dag Runs page
* fix format
* fix too long file
* fixing static problem
* fix too long file
* fix format problem
* fix format
* fix format
* remove eslint-disable max-lines
---
airflow-core/src/airflow/ui/src/constants/filterConfigs.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow-core/src/airflow/ui/src/constants/filterConfigs.tsx
b/airflow-core/src/airflow/ui/src/constants/filterConfigs.tsx
index 8bf26091b77..a845244800a 100644
--- a/airflow-core/src/airflow/ui/src/constants/filterConfigs.tsx
+++ b/airflow-core/src/airflow/ui/src/constants/filterConfigs.tsx
@@ -198,7 +198,7 @@ export const useFilterConfigs = () => {
{translate(option.label)}
</Flex>
),
- value: option.value,
+ value: option.value === "all" ? "" : option.value,
})),
type: FilterTypes.SELECT,
},
@@ -212,7 +212,7 @@ export const useFilterConfigs = () => {
) : (
<StateBadge state={option.value as
DagRunState}>{translate(option.label)}</StateBadge>
),
- value: option.value,
+ value: option.value === "all" ? "" : option.value,
})),
type: FilterTypes.SELECT,
},