File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
services/static-webserver/client/source/class/osparc/data/model Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -198,12 +198,12 @@ qx.Class.define("osparc.data.model.StudyUI", {
198198 __updateNodeMarkerFromDiff : function ( node , markerDiff ) {
199199 if ( node ) {
200200 if ( markerDiff instanceof Array ) {
201- if ( markerDiff . length === 1 ) {
202- // it was added
203- node . addMarker ( markerDiff [ 0 ] ) ;
204- } else if ( markerDiff . length === 2 && markerDiff [ 1 ] === null ) {
201+ if ( markerDiff . length === 2 && markerDiff [ 1 ] === null ) {
205202 // it was removed
206203 node . setMarker ( null ) ;
204+ } else if ( markerDiff . length === 1 ) {
205+ // it was added
206+ node . addMarker ( markerDiff [ 0 ] ) ;
207207 }
208208 } else if ( "color" in markerDiff && markerDiff [ "color" ] instanceof Array ) {
209209 // it was updated
You can’t perform that action at this time.
0 commit comments