Skip to content

Commit 11eaca1

Browse files
committed
minor
1 parent 58689bb commit 11eaca1

File tree

1 file changed

+4
-4
lines changed
  • services/static-webserver/client/source/class/osparc/navigation

1 file changed

+4
-4
lines changed

services/static-webserver/client/source/class/osparc/navigation/UserMenu.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,14 @@ qx.Class.define("osparc.navigation.UserMenu", {
196196
this.getChildControl("log-in");
197197
} else {
198198
this.getChildControl("user-center");
199-
if (osparc.data.Permissions.getInstance().isAdmin()) {
200-
this.getChildControl("admin-center");
199+
if (osparc.data.Permissions.getInstance().isTester()) {
200+
this.getChildControl("tester-center");
201201
}
202202
if (osparc.data.Permissions.getInstance().isProductOwner()) {
203203
this.getChildControl("po-center");
204204
}
205-
if (osparc.data.Permissions.getInstance().isTester()) {
206-
this.getChildControl("tester-center");
205+
if (osparc.data.Permissions.getInstance().isAdmin()) {
206+
this.getChildControl("admin-center");
207207
}
208208
if (osparc.desktop.credits.Utils.areWalletsEnabled()) {
209209
this.getChildControl("billing-center");

0 commit comments

Comments
 (0)