@@ -81,7 +81,6 @@ qx.Class.define("osparc.desktop.StudyEditor", {
8181 } ) ;
8282
8383 this . __lastSyncedProjectDocument = null ;
84- this . __lastSyncedVersion = null ;
8584 this . __updatingStudy = 0 ;
8685 this . __throttledPatchPending = false ;
8786 } ,
@@ -161,7 +160,6 @@ qx.Class.define("osparc.desktop.StudyEditor", {
161160 __savingTimer : null ,
162161 __studyEditorIdlingTracker : null ,
163162 __lastSyncedProjectDocument : null ,
164- __lastSyncedVersion : null ,
165163 __updatingStudy : null ,
166164 __updateThrottled : null ,
167165 __nodesSlidesTree : null ,
@@ -306,9 +304,6 @@ qx.Class.define("osparc.desktop.StudyEditor", {
306304
307305 __setLastSyncedProjectDocument : function ( studyData , version ) {
308306 this . __lastSyncedProjectDocument = osparc . data . model . Study . deepCloneStudyObject ( studyData , true ) ;
309- if ( version !== undefined ) {
310- this . __lastSyncedVersion = version ;
311- }
312307
313308 // remove the runHash, this.__lastSyncedProjectDocument is only used for diff comparison and the frontend doesn't keep it
314309 Object . keys ( this . __lastSyncedProjectDocument [ "workbench" ] ) . forEach ( nodeId => {
@@ -350,8 +345,6 @@ qx.Class.define("osparc.desktop.StudyEditor", {
350345 this . getStudy ( ) . getUi ( ) . updateUiFromDiff ( delta [ "ui" ] ) ;
351346 delete delta [ "ui" ] ;
352347 }
353-
354- this . __lastSyncedVersion = data [ "version" ] ;
355348 }
356349 } , this ) ;
357350 }
0 commit comments