2
0

🐛 (editor) Fix groups paste when edge is not copied

This commit is contained in:
Baptiste Arnaud
2024-06-14 09:51:02 +02:00
parent f38af0d90b
commit 98699738d7

View File

@ -164,6 +164,8 @@ const groupsActions = (setTypebot: SetTypebot): GroupsActions => ({
id: outgoingEdgeId,
})
oldToNewIdsMapping.set(item.id, id)
} else {
outgoingEdgeId = undefined
}
}
return {
@ -183,6 +185,8 @@ const groupsActions = (setTypebot: SetTypebot): GroupsActions => ({
...edge,
id: outgoingEdgeId,
})
} else {
outgoingEdgeId = undefined
}
}
return {