diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js index 9cc0bccf53926fe9a74ad30498e00ca2a2f67f2a..0af940960e240f8a2de1482164c8dc6fe2fff442 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js @@ -239,7 +239,10 @@ $.extend(DefaultProfile.prototype, { // this.jupyterEndpoint = "https://bs-openbis-sis-dev.ethz.ch:8000/"; this.settingsObjects = []; - this.isMultiGroup = false; + + this.isMultiGroup = function() { + return this.settingsObjects.length > 1; + } this.systemProperties = ["$ANNOTATIONS_STATE", "FREEFORM_TABLE_STATE"]; this.forcedDisableRTF = []; diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js index 9d6b1a308d4cb3088f000f2536895436b6361743..1d6b4abed73015db25f2d7a6709215051fc0e389 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js @@ -341,7 +341,7 @@ function SideMenuWidgetView(sideMenuWidgetController, sideMenuWidgetModel) { treeModelUtils.push({ displayName: "Storage Manager", title : storageManagerLink, entityType: "STORAGE_MANAGER", key : "STORAGE_MANAGER", folder : false, lazy : false, view : "showStorageManager" }); } - if(profile.mainMenu.showUserManager && profile.isAdmin && !profile.isMultiGroup) { + if(profile.mainMenu.showUserManager && profile.isAdmin && !profile.isMultiGroup()) { var userManagerLink = _this.getLinkForNode("User Manager", "USER_MANAGER", "showUserManagerPage", null, null); treeModelUtils.push({ displayName: "User Manager", title : userManagerLink, entityType: "USER_MANAGER", key : "USER_MANAGER", folder : false, lazy : false, view : "showUserManagerPage", icon : "fa fa-users" }); }