From 5c50c3aa70c834fa78413ba582c0a11e404c3334 Mon Sep 17 00:00:00 2001 From: yo <145314115+yoichiojima-2@users.noreply.github.com> Date: Sun, 14 Sep 2025 15:10:12 +0900 Subject: [PATCH] fix: allow empty values in Variable Inspector (#25644) --- web/app/components/workflow/variable-inspect/value-content.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/workflow/variable-inspect/value-content.tsx b/web/app/components/workflow/variable-inspect/value-content.tsx index a3ede311c4..c8233d1fa2 100644 --- a/web/app/components/workflow/variable-inspect/value-content.tsx +++ b/web/app/components/workflow/variable-inspect/value-content.tsx @@ -71,7 +71,7 @@ const ValueContent = ({ setValue(currentVar.value) } if (showJSONEditor) - setJson(currentVar.value ? JSON.stringify(currentVar.value, null, 2) : '') + setJson(currentVar.value != null ? JSON.stringify(currentVar.value, null, 2) : '') if (showFileEditor) setFileValue(formatFileValue(currentVar))