diff --git a/airflow-core/src/airflow/ui/src/layouts/Details/Gantt/Gantt.tsx b/airflow-core/src/airflow/ui/src/layouts/Details/Gantt/Gantt.tsx index 3b6bdceb2da24..9a72d3fea4448 100644 --- a/airflow-core/src/airflow/ui/src/layouts/Details/Gantt/Gantt.tsx +++ b/airflow-core/src/airflow/ui/src/layouts/Details/Gantt/Gantt.tsx @@ -186,9 +186,9 @@ export const Gantt = ({ limit }: Props) => { minBarLength: MIN_BAR_WIDTH, }, ], - labels: [], + labels: flatNodes.map((node) => node.id), }), - [data], + [data, flatNodes], ); const fixedHeight = flatNodes.length * CHART_ROW_HEIGHT + CHART_PADDING;