File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
services/static-webserver/client/source/class/osparc/data/model Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -862,19 +862,20 @@ qx.Class.define("osparc.data.model.Workbench", {
862862 workbenchPatchesByNode [ nodeId ] . push ( workbenchPatch ) ;
863863 } ) ;
864864
865- // first remove nodes
865+ // first, remove nodes
866866 nodesRemoved . forEach ( nodeId => {
867867 const node = this . getNode ( nodeId ) ;
868868 if ( node ) {
869869 node . nodeRemoved ( nodeId ) ;
870870 }
871871 this . __nodeRemoved ( nodeId ) ;
872+ delete workbenchPatchesByNode [ nodeId ] ;
872873 } ) ;
873874
874- // second add nodes
875+ // second, add nodes
875876 console . log ( "Adding nodes" , nodesAdded ) ;
876877
877- // third update nodes
878+ // third, update nodes
878879 Object . keys ( workbenchPatchesByNode ) . forEach ( nodeId => {
879880 const node = this . getNode ( nodeId ) ;
880881 if ( node === null ) {
You can’t perform that action at this time.
0 commit comments