Skip to content

Commit 9c0324f

Browse files
authored
🐛 Fix: Bring back export cMIS for osparc (#5499)
1 parent 6cfe29d commit 9c0324f

File tree

1 file changed

+9
-2
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+9
-2
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,11 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
915915
const duplicateStudyButton = this.__getDuplicateMenuButton(studyData);
916916
menu.add(duplicateStudyButton);
917917

918+
if (osparc.product.Utils.isProduct("osparc")) {
919+
const exportStudyButton = this.__getExportMenuButton(studyData);
920+
menu.add(exportStudyButton);
921+
}
922+
918923
menu.addSeparator();
919924

920925
if (writeAccess) {
@@ -932,8 +937,10 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
932937
const studyDataButton = this.__getStudyDataMenuButton(card);
933938
menu.add(studyDataButton);
934939

935-
const billingsSettingsButton = this.__getBillingMenuButton(card);
936-
menu.add(billingsSettingsButton);
940+
if (osparc.desktop.credits.Utils.areWalletsEnabled()) {
941+
const billingsSettingsButton = this.__getBillingMenuButton(card);
942+
menu.add(billingsSettingsButton);
943+
}
937944

938945
if (deleteAccess) {
939946
const deleteButton = this.__getDeleteStudyMenuButton(studyData, false);

0 commit comments

Comments
 (0)