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({
6262
6363 let isValidConnectionHandler = isValidConnection || isValidConnectionProp . value || alwaysValid
6464
65- if ( ! isValidConnection ) {
65+ if ( ! isValidConnectionHandler ) {
6666 if ( node ) isValidConnectionHandler = ( ! isTarget ? node . isValidTargetPos : node . isValidSourcePos ) || alwaysValid
6767 }
6868
@@ -223,7 +223,7 @@ export default function useHandle({
223223
224224 const node = findNode ( unref ( nodeId ) )
225225
226- if ( ! isValidConnection ) {
226+ if ( ! isValidConnectionHandler ) {
227227 if ( node ) isValidConnectionHandler = ( ! isTarget ? node . isValidTargetPos : node . isValidSourcePos ) || alwaysValid
228228 }
229229
Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ export default defineComponent({
1414 const style = ( attrs . style ?? { } ) as CSSProperties
1515 const slot = miniMapSlots [ `node-${ props . type } ` ]
1616
17- if ( slot ) return slot ! ( props )
17+ if ( slot ) {
18+ return slot ( props )
19+ }
1820
1921 return h ( 'rect' , {
2022 id : props . id ,
You can’t perform that action at this time.
0 commit comments