瀏覽代碼

fix: allow empty values in Variable Inspector (#25644)

tags/1.9.0
yo 1 月之前
父節點
當前提交
5c50c3aa70
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      web/app/components/workflow/variable-inspect/value-content.tsx

+ 1
- 1
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))

Loading…
取消
儲存