diff --git a/airflow-core/src/airflow/ui/src/pages/Dag/Dag.tsx b/airflow-core/src/airflow/ui/src/pages/Dag/Dag.tsx index be7422620b484..22462c6022c86 100644 --- a/airflow-core/src/airflow/ui/src/pages/Dag/Dag.tsx +++ b/airflow-core/src/airflow/ui/src/pages/Dag/Dag.tsx @@ -59,7 +59,7 @@ export const Dag = () => { data: runsData, error: runsError, isLoading: isLoadingRuns, - } = useDagsServiceRecentDagRuns({ dagIds: [dagId] }, undefined, { + } = useDagsServiceRecentDagRuns({ dagIds: [dagId], dagRunsLimit: 1 }, undefined, { enabled: Boolean(dagId), refetchInterval: (query) => query.state.data?.dags