2
0

🐛 (transcript) Revert incorrect recursive set variable at same block

This commit is contained in:
Baptiste Arnaud
2024-08-16 16:54:59 +02:00
parent 2ac543a4a8
commit 58d3955e01
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ const executeGroup = ({
nextGroup.blockIndex ?? 0
)) {
if (stopAtBlockId && block.id === stopAtBlockId) return currentTranscript
while (setVariableHistory.at(0)?.blockId === block.id)
if (setVariableHistory.at(0)?.blockId === block.id)
typebotsQueue[0].typebot.variables = applySetVariable(
setVariableHistory.shift(),
typebotsQueue[0].typebot