Переглянути джерело

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

tags/1.9.0
yo 1 місяць тому
джерело
коміт
5c50c3aa70
Аккаунт користувача з таким Email не знайдено

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

Завантаження…
Відмінити
Зберегти