Commit ea9a36ef authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Fix for redirecting to frontpage after deleting a lab

parent 3bc26c9d
Pipeline #2954 passed with stages
in 1 minute and 37 seconds
......@@ -216,7 +216,7 @@ function labDelete(id) {
success: (response) => {
console.log("Successfully response.");
console.log(response);
location.reload('/');
location = '/';
},
error: (error) => {
alert("Some error occured.");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment