Fix: json update in conversation variable (#18483)
This commit is contained in:
@@ -123,7 +123,7 @@ const ChatVariableModal = ({
|
|||||||
case ChatVarType.Number:
|
case ChatVarType.Number:
|
||||||
return value || 0
|
return value || 0
|
||||||
case ChatVarType.Object:
|
case ChatVarType.Object:
|
||||||
return formatValueFromObject(objectValue)
|
return editInJSON ? value : formatValueFromObject(objectValue)
|
||||||
case ChatVarType.ArrayString:
|
case ChatVarType.ArrayString:
|
||||||
case ChatVarType.ArrayNumber:
|
case ChatVarType.ArrayNumber:
|
||||||
case ChatVarType.ArrayObject:
|
case ChatVarType.ArrayObject:
|
||||||
|
Reference in New Issue
Block a user