🐛 (editor) Fix groups paste when edge is not copied
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user