From 5344fec3af314e202131ec19ad5a59826437f8b9 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Thu, 11 Jan 2024 12:55:34 +0100 Subject: [PATCH] fix(core): add fallback for connection-line type --- packages/core/src/components/ConnectionLine/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/components/ConnectionLine/index.ts b/packages/core/src/components/ConnectionLine/index.ts index 89bc8763..56aa1396 100644 --- a/packages/core/src/components/ConnectionLine/index.ts +++ b/packages/core/src/components/ConnectionLine/index.ts @@ -91,7 +91,7 @@ const ConnectionLine = defineComponent({ return null } - const type = connectionLineType.value ?? connectionLineOptions.value.type + const type = connectionLineType.value ?? connectionLineOptions.value.type ?? ConnectionLineType.Bezier let dAttr = ''