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 c702b7e4856 Fix Gantt chart no status color (#55296)
c702b7e4856 is described below

commit c702b7e48569890a465b39ddf9220186fc3155e4
Author: Pierre Jeambrun <[email protected]>
AuthorDate: Fri Sep 5 20:13:10 2025 +0200

    Fix Gantt chart no status color (#55296)
---
 airflow-core/src/airflow/ui/src/layouts/Details/Gantt/Gantt.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 deba7682f22..255321bd2b4 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
@@ -178,7 +178,8 @@ export const Gantt = ({ limit }: Props) => {
         {
           backgroundColor: data.map(
             (dataItem) =>
-              
system.tokens.categoryMap.get("colors")?.get(`${dataItem.state}.600`)?.value as 
string,
+              system.tokens.categoryMap.get("colors")?.get(`${dataItem.state 
?? "none"}.600`)
+                ?.value as string,
           ),
           data,
           maxBarThickness: CHART_ROW_HEIGHT,

Reply via email to