Skip to content
Snippets Groups Projects
Commit a84f4da1 authored by Schiffer, Christian's avatar Schiffer, Christian
Browse files

Implemented automatic brain detection from URL

parent 0823712b
No related branches found
No related tags found
No related merge requests found
......@@ -207,6 +207,7 @@ var app = new Vue({
newProject: function () {
// Create a new project and set it as selected project to be edited
let new_project = new Project();
new_project.brain = /B(?<brain>\d+)\.json/.exec(myOrigin.source)["groups"]["brain"]
this.selected_project = new_project;
},
editProject: function (project) {
......
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