Просмотр исходного кода

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

tags/1.9.0
yo 1 месяц назад
Родитель
Сommit
5c50c3aa70
Аккаунт пользователя с таким Email не найден
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))

Загрузка…
Отмена
Сохранить