File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
services/static-webserver/client/source/class/osparc Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -536,8 +536,8 @@ qx.Class.define("osparc.desktop.StudyEditor", {
536536 } ,
537537
538538 __editSlides : function ( ) {
539- if ( this . getStudy ( ) . getUi ( ) . getMode ( ) !== "workbench" ) {
540- // if the user is not in "workbench " mode, return
539+ if ( [ "app" , "guided" ] . includes ( this . getStudy ( ) . getUi ( ) . getMode ( ) ) ) {
540+ // if the user is in "app " mode, return
541541 return ;
542542 }
543543
Original file line number Diff line number Diff line change @@ -389,12 +389,14 @@ qx.Class.define("osparc.store.Services", {
389389 // if the one in the cache is the complete one, do not overwrite it
390390 if (
391391 this . __isInCache ( key , version ) &&
392+ this . __servicesCached [ key ] [ version ] &&
392393 "history" in this . __servicesCached [ key ] [ version ] // the most complete service metadata is already in cache
393394 ) {
394395 return ;
395396 }
396397 if (
397398 this . __isInCache ( key , version ) &&
399+ this . __servicesCached [ key ] [ version ] &&
398400 "inputs" in this . __servicesCached [ key ] [ version ] && // this is the second most complete service metadata (/latest)
399401 value && ! ( "inputs" in value ) // the one to be added is not more complete
400402 ) {
You can’t perform that action at this time.
0 commit comments