mirror of
https://github.com/langgenius/dify.git
synced 2025-10-27 00:48:43 +00:00
Fix: json update in conversation variable (#18483)
This commit is contained in:
parent
7b6523e54d
commit
3136eb8e4b
@ -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…
x
Reference in New Issue
Block a user