File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
services/static-webserver/client/source/class/osparc/desktop Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -832,14 +832,19 @@ qx.Class.define("osparc.desktop.StudyEditor", {
832832 }
833833 } ,
834834
835+ /**
836+ * @param {JSON Patch } data It will soon be used to patch the study document https://datatracker.ietf.org/doc/html/rfc6902
837+ */
835838 updateStudyDocument : function ( data = null ) {
836839 if ( ! osparc . data . model . Study . canIWrite ( this . getStudy ( ) . getAccessRights ( ) ) ) {
837840 return new Promise ( resolve => {
838841 resolve ( ) ;
839842 } ) ;
840843 }
841844
842- console . log ( "updateStudyDocument" , data ) ;
845+ if ( osparc . utils . Utils . isDevelopmentPlatform ( ) ) {
846+ console . log ( "updateStudyDocument" , data ) ; // For debugging purposes
847+ }
843848
844849 this . __updatingStudy ++ ;
845850 const studyDiffs = this . __getStudyDiffs ( ) ;
You can’t perform that action at this time.
0 commit comments