mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 23:01:09 +03:00
@@ -780,7 +780,7 @@ export const getVariableValue = (
|
||||
const variableValue = variableDict[path]
|
||||
// Replace all occurrence
|
||||
if (typeof variableValue === 'object') {
|
||||
returnVal = returnVal.split(path).join(JSON.stringify(variableValue).replaceAll('"', '\\"').replaceAll('\\n', '\\\\n'))
|
||||
returnVal = returnVal.split(path).join(JSON.stringify(JSON.stringify(variableValue)))
|
||||
} else {
|
||||
returnVal = returnVal.split(path).join(variableValue)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user