Skip to content

Commit

Permalink
🐛 (editor) Fix groups paste when edge is not copied
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Jun 14, 2024
1 parent f38af0d commit 9869973
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ const groupsActions = (setTypebot: SetTypebot): GroupsActions => ({
id: outgoingEdgeId,
})
oldToNewIdsMapping.set(item.id, id)
} else {
outgoingEdgeId = undefined
}
}
return {
Expand All @@ -183,6 +185,8 @@ const groupsActions = (setTypebot: SetTypebot): GroupsActions => ({
...edge,
id: outgoingEdgeId,
})
} else {
outgoingEdgeId = undefined
}
}
return {
Expand Down

0 comments on commit 9869973

Please sign in to comment.