Przeglądaj źródła

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

tags/1.9.0
yo 1 miesiąc temu
rodzic
commit
5c50c3aa70
No account linked to committer's email address

+ 1
- 1
web/app/components/workflow/variable-inspect/value-content.tsx Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz