From e2466c7fe42387cc118342e7860f5013a054f3cb Mon Sep 17 00:00:00 2001 From: juanf <juanf@bsse-bs-dock-5-158.ethz.ch> Date: Wed, 15 Aug 2018 15:11:58 +0200 Subject: [PATCH] Bugfix, isProjectSamplesEnabled --- .../eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 72e1d7bfe3d..2db4dc9a189 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 @@ -930,7 +930,7 @@ $.extend(DefaultProfile.prototype, { openbisV3._private.sessionToken = mainController.serverFacade.getSession(); openbisV3.getServerInformation().done(function(serverInformation) { var authSystem = serverInformation["authentication-service"]; - IdentifierUtil.isProjectSamplesEnabled = serverInformation["project-samples-enabled"]; + IdentifierUtil.isProjectSamplesEnabled = (serverInformation["project-samples-enabled"] === "true"); if (authSystem && authSystem.indexOf("file") !== -1) { _this.isFileAuthenticationService = true; } -- GitLab