2
0

🐛 (typebotLink) Fix variables merging with new values

This commit is contained in:
Baptiste Arnaud
2023-11-16 16:10:22 +01:00
parent eca6d207bf
commit e22bd7dc9b

View File

@ -37,8 +37,8 @@ export const getNextGroup =
.map((variable) => ({
...variable,
value:
state.typebotsQueue[0].answers.find(
(answer) => answer.key === variable.name
state.typebotsQueue[0].typebot.variables.find(
(v) => v.name === variable.name
)?.value ?? variable.value,
}))
.concat(