File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1793,9 +1793,7 @@ class oe extends x {
17931793 this . _updateWirePositions ( ) ;
17941794 }
17951795 _onContainerRemoved ( e ) {
1796- const { moduleId : t } = e . detail , i = this . _wires . filter (
1797- ( r ) => r . srcModuleId === t || r . tgtModuleId === t
1798- ) ;
1796+ const { moduleId : t } = e . detail , i = this . _wires . filter ( ( r ) => r . srcModuleId === t || r . tgtModuleId === t ) ;
17991797 if ( i . length === 0 ) {
18001798 this . _removeContainer ( t ) ;
18011799 return ;
Original file line number Diff line number Diff line change @@ -163,9 +163,7 @@ export class EbLayer extends LitElement {
163163
164164 _onContainerRemoved ( e ) {
165165 const { moduleId } = e . detail ;
166- const connectedWires = this . _wires . filter (
167- ( w ) => w . srcModuleId === moduleId || w . tgtModuleId === moduleId
168- ) ;
166+ const connectedWires = this . _wires . filter ( ( w ) => w . srcModuleId === moduleId || w . tgtModuleId === moduleId ) ;
169167 if ( connectedWires . length === 0 ) {
170168 this . _removeContainer ( moduleId ) ;
171169 return ;
You can’t perform that action at this time.
0 commit comments