Browse Source

Fix: json update in conversation variable (#18483)

tags/1.3.0
KVOJJJin 6 months ago
parent
commit
3136eb8e4b
No account linked to committer's email address

+ 1
- 1
web/app/components/workflow/panel/chat-variable-panel/components/variable-modal.tsx View File

@@ -123,7 +123,7 @@ const ChatVariableModal = ({
case ChatVarType.Number:
return value || 0
case ChatVarType.Object:
return formatValueFromObject(objectValue)
return editInJSON ? value : formatValueFromObject(objectValue)
case ChatVarType.ArrayString:
case ChatVarType.ArrayNumber:
case ChatVarType.ArrayObject:

Loading…
Cancel
Save