File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ export default function useHandle({
62
62
63
63
let isValidConnectionHandler = isValidConnection || isValidConnectionProp . value || alwaysValid
64
64
65
- if ( ! isValidConnection ) {
65
+ if ( ! isValidConnectionHandler ) {
66
66
if ( node ) isValidConnectionHandler = ( ! isTarget ? node . isValidTargetPos : node . isValidSourcePos ) || alwaysValid
67
67
}
68
68
@@ -223,7 +223,7 @@ export default function useHandle({
223
223
224
224
const node = findNode ( unref ( nodeId ) )
225
225
226
- if ( ! isValidConnection ) {
226
+ if ( ! isValidConnectionHandler ) {
227
227
if ( node ) isValidConnectionHandler = ( ! isTarget ? node . isValidTargetPos : node . isValidSourcePos ) || alwaysValid
228
228
}
229
229
Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ export default defineComponent({
14
14
const style = ( attrs . style ?? { } ) as CSSProperties
15
15
const slot = miniMapSlots [ `node-${ props . type } ` ]
16
16
17
- if ( slot ) return slot ! ( props )
17
+ if ( slot ) {
18
+ return slot ( props )
19
+ }
18
20
19
21
return h ( 'rect' , {
20
22
id : props . id ,
You can’t perform that action at this time.
0 commit comments