File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
components/OutcomeConnectors Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ const OutcomeConnector = ({
95
95
96
96
// shared code for mouse event handlers
97
97
const connectionConnectMouseDown = ( direction , validity ) => ( event : React . MouseEvent ) => {
98
- console . log ( 'event' , event . shiftKey )
99
98
if ( ! fromAddress ) {
100
99
// if the action is being performed from
101
100
// a top port, then there's two options:
@@ -105,7 +104,6 @@ const OutcomeConnector = ({
105
104
// definitely don't override any existing connection
106
105
// ASSUMPTION: one parent
107
106
const connectionAddressToOverride = ( direction === RELATION_AS_CHILD && ! event . shiftKey ) ? ownExistingParentConnectionAddress : undefined
108
- console . log ( 'connectionAddressToOverride' , connectionAddressToOverride )
109
107
setOutcomeConnectorFrom (
110
108
address ,
111
109
direction ,
Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ function calculateValidParents(
63
63
// filter out self-address in the process
64
64
outcomeActionHash !== fromAddress &&
65
65
// filter out any descendants
66
- ! descendants . includes ( outcomeActionHash ) &&
67
- ! isAncestor ( fromAddress , outcomeActionHash , connections )
66
+ ! descendants . includes ( outcomeActionHash ) // &&
67
+ // !isAncestor(fromAddress, outcomeActionHash, connections)
68
68
)
69
69
} )
70
70
}
You can’t perform that action at this time.
0 commit comments