Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,8 @@ qx.Class.define("osparc.desktop.StudyEditor", {
},

__editSlides: function() {
if (this.getStudy().getUi().getMode() !== "workbench") {
// if the user is not in "workbench" mode, return
if (["app", "guided"].includes(this.getStudy().getUi().getMode())) {
// if the user is in "app" mode, return
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -389,12 +389,14 @@ qx.Class.define("osparc.store.Services", {
// if the one in the cache is the complete one, do not overwrite it
if (
this.__isInCache(key, version) &&
this.__servicesCached[key][version] &&
"history" in this.__servicesCached[key][version] // the most complete service metadata is already in cache
) {
return;
}
if (
this.__isInCache(key, version) &&
this.__servicesCached[key][version] &&
"inputs" in this.__servicesCached[key][version] && // this is the second most complete service metadata (/latest)
value && !("inputs" in value) // the one to be added is not more complete
) {
Expand Down
Loading