Skip to content

Commit 8aadf70

Browse files
authored
undo
1 parent 2fa0319 commit 8aadf70

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

services/static-webserver/client/source/class/osparc/desktop/account/MyAccount.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,8 @@ qx.Class.define("osparc.desktop.account.MyAccount", {
2828

2929
this.__profilePage = this.__addProfilePage();
3030

31-
// show Usage in My Account if wallets are not enabled. If they are enabled it will be in the BIlling Center
32-
if (!osparc.desktop.credits.Utils.areWalletsEnabled()) {
33-
if (osparc.data.Permissions.getInstance().canDo("usage.all.read")) {
34-
this.__usagePage = this.__addUsagePage();
35-
}
31+
if (osparc.data.Permissions.getInstance().canDo("usage.all.read")) {
32+
this.__usagePage = this.__addUsagePage();
3633
}
3734
},
3835

services/static-webserver/client/source/class/osparc/desktop/preferences/Preferences.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ qx.Class.define("osparc.desktop.preferences.Preferences", {
6666
openTags: function() {
6767
if (this.__tagsPage) {
6868
this._openPage(this.__tagsPage);
69+
return true;
6970
}
7071
},
7172
}

services/static-webserver/client/source/class/osparc/desktop/preferences/PreferencesWindow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ qx.Class.define("osparc.desktop.preferences.PreferencesWindow", {
4848
__preferences: null,
4949

5050
openTags: function() {
51-
this.__preferences.openTags();
51+
return this.__preferences.openTags();
5252
}
5353
}
5454
});

0 commit comments

Comments
 (0)