refactor(svelte): use correct id for handle data-id attr

This commit is contained in:
moklick
2024-01-25 11:42:03 +01:00
parent 80a1759fd2
commit b8fc637091
2 changed files with 5 additions and 4 deletions
@@ -134,7 +134,7 @@ The Handle component is the part of a node that can be used to connect nodes.
data-handleid={handleId}
data-nodeid={nodeId}
data-handlepos={position}
data-id="{flowId}-{nodeId}-{id || null}-{type}"
data-id="{$flowId}-{nodeId}-{id || null}-{type}"
class={cc([
'svelte-flow__handle',
`svelte-flow__handle-${position}`,