Skip to content

Commit 7729eff

Browse files
committed
fix(core): unwrap connection line status ref (#1962)
* fix(core): unwrap connection line status ref Signed-off-by: braks <[email protected]> * chore(changeset): add Signed-off-by: braks <[email protected]> --------- Signed-off-by: braks <[email protected]>
1 parent f3dc522 commit 7729eff

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/wise-jobs-perform.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@vue-flow/core": patch
3+
---
4+
5+
Unwrap connection line status ref in the connection line component to correctly append the class name.

packages/core/src/components/ConnectionLine/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ const ConnectionLine = defineComponent({
145145
})
146146
: h('path', {
147147
'd': dAttr,
148-
'class': [connectionLineOptions.value.class, connectionStatus, 'vue-flow__connection-path'],
148+
'class': [connectionLineOptions.value.class, connectionStatus.value, 'vue-flow__connection-path'],
149149
'style': {
150150
...connectionLineStyle.value,
151151
...connectionLineOptions.value.style,

0 commit comments

Comments
 (0)