🐛 (typebotLink) Fix variables merging with new values
This commit is contained in:
@ -37,8 +37,8 @@ export const getNextGroup =
|
|||||||
.map((variable) => ({
|
.map((variable) => ({
|
||||||
...variable,
|
...variable,
|
||||||
value:
|
value:
|
||||||
state.typebotsQueue[0].answers.find(
|
state.typebotsQueue[0].typebot.variables.find(
|
||||||
(answer) => answer.key === variable.name
|
(v) => v.name === variable.name
|
||||||
)?.value ?? variable.value,
|
)?.value ?? variable.value,
|
||||||
}))
|
}))
|
||||||
.concat(
|
.concat(
|
||||||
|
Reference in New Issue
Block a user