From ade9de12defdd2727d3308c7e34b28ba4f68d18f Mon Sep 17 00:00:00 2001 From: "Detlev V." Date: Fri, 13 Sep 2024 11:29:13 +0200 Subject: [PATCH] fix: only treat null/undefined as falsy when rendering XComEntry (#42199) fix: only treat null, undefined or NaN as NULL in XComEntry render fix: use coalescing nullish check + isNaN fix: only treat null/undefined as falsy when rendering XComEntry --- .../www/static/js/dag/details/taskInstance/Xcom/XcomEntry.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/www/static/js/dag/details/taskInstance/Xcom/XcomEntry.tsx b/airflow/www/static/js/dag/details/taskInstance/Xcom/XcomEntry.tsx index 806209bccbf3..4e2b9dc2dc5a 100644 --- a/airflow/www/static/js/dag/details/taskInstance/Xcom/XcomEntry.tsx +++ b/airflow/www/static/js/dag/details/taskInstance/Xcom/XcomEntry.tsx @@ -67,7 +67,7 @@ const XcomEntry = ({ No value found for XCom key ); - } else if (!xcom.value) { + } else if (xcom.value === undefined || xcom.value === null) { content = (