mirror of https://github.com/langgenius/dify.git
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…
Reference in New Issue