Skip to content

Commit e065d17

Browse files
committed
bar merge
1 parent 6561425 commit e065d17

File tree

1 file changed

+1
-11
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+1
-11
lines changed

services/static-webserver/client/source/class/osparc/dashboard/StudyBrowser.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,16 +1725,6 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
17251725
return renameButton;
17261726
},
17271727

1728-
__updateName: function(studyData, name) {
1729-
osparc.info.StudyUtils.patchStudyData(studyData, "name", name)
1730-
.then(() => this._updateStudyData(studyData))
1731-
.catch(err => {
1732-
console.error(err);
1733-
const msg = err.message || this.tr("Something went wrong Renaming");
1734-
osparc.FlashMessenger.logAs(msg, "ERROR");
1735-
});
1736-
},
1737-
17381728
__getThumbnailStudyMenuButton: function(studyData) {
17391729
const thumbButton = new qx.ui.menu.Button(this.tr("Thumbnail..."), "@FontAwesome5Solid/image/12");
17401730
thumbButton.addListener("execute", () => {
@@ -1876,7 +1866,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
18761866
__getConvertToPipelineMenuButton: function(studyData) {
18771867
const convertToPipelineButton = new qx.ui.menu.Button(this.tr("Convert to Pipeline"), null);
18781868
convertToPipelineButton["convertToPipelineButton"] = true;
1879-
const uiMode = osparc.data.model.Study.getUiMode(studyData);
1869+
const uiMode = osparc.study.Utils.getUiMode(studyData);
18801870
convertToPipelineButton.setVisibility(uiMode === "standalone" ? "visible" : "excluded");
18811871
convertToPipelineButton.addListener("execute", () => {
18821872
this.__updateUIMode(studyData, "workbench")

0 commit comments

Comments
 (0)