Skip to content
Snippets Groups Projects
Commit 50defa4c authored by juanf's avatar juanf
Browse files

SSDM-179: ELN UI - Navigation widget from spaces to experiments

SVN: 31486
parent 47d39483
No related branches found
No related tags found
No related merge requests found
......@@ -172,7 +172,11 @@ function MainController(profile) {
case "showViewExperiment":
var _this = this;
this.serverFacade.getELNExperimentSampleIdForExperiment(arg, function(permId) {
_this.changeView("showViewSamplePageFromPermId", permId);
if(!permId) {
Util.showError("1:1 Relation between experiment and sample missing. Probably not created with the ELN UI.");
} else {
_this.changeView("showViewSamplePageFromPermId", permId);
}
});
break;
case "showViewSamplePageFromPermId":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment