diff --git a/frontend/src/_helpers/utils.js b/frontend/src/_helpers/utils.js index 907c95c42e..04f0d19bdb 100644 --- a/frontend/src/_helpers/utils.js +++ b/frontend/src/_helpers/utils.js @@ -169,6 +169,10 @@ export function resolveReferences( const state = useCurrentStateStore.getState(); //!state=currentstate => The state passed down as an argument retains the previous state. + if (_state.parameters) { + state.parameters = { ..._state.parameters }; + } + switch (objectType) { case 'string': { if (object.includes('{{') && object.includes('}}') && object.includes('%%') && object.includes('%%')) {