chore(core): cleanup handle

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-04-03 08:53:33 +02:00
committed by Braks
parent 26a68e83ed
commit b1c88b3792
2 changed files with 27 additions and 28 deletions
@@ -58,10 +58,10 @@ const isConnectable = computed(() => {
const isConnecting = computed(
() =>
connectionStartHandle &&
connectionStartHandle.nodeId === nodeId &&
connectionStartHandle.handleId === handleId &&
connectionStartHandle.type === type.value,
connectionStartHandle.value &&
connectionStartHandle.value.nodeId === nodeId &&
connectionStartHandle.value.handleId === handleId.value &&
connectionStartHandle.value.type === type.value,
)
// set up handle bounds if they don't exist yet and the node has been initialized (i.e. the handle was added after the node has already been mounted)