Skip to content

Commit 9e7b36e

Browse files
authored
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
1 parent d2f7deb commit 9e7b36e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

airflow-core/src/airflow/ui/src/constants/filterConfigs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export const useFilterConfigs = () => {
198198
{translate(option.label)}
199199
</Flex>
200200
),
201-
value: option.value,
201+
value: option.value === "all" ? "" : option.value,
202202
})),
203203
type: FilterTypes.SELECT,
204204
},
@@ -212,7 +212,7 @@ export const useFilterConfigs = () => {
212212
) : (
213213
<StateBadge state={option.value as DagRunState}>{translate(option.label)}</StateBadge>
214214
),
215-
value: option.value,
215+
value: option.value === "all" ? "" : option.value,
216216
})),
217217
type: FilterTypes.SELECT,
218218
},

0 commit comments

Comments
 (0)