From fa589d3c21be1559bdda774bbc7b676a0b45f516 Mon Sep 17 00:00:00 2001
From: "robinwilliam.hundt" <robinwilliam.hundt@stud.uni-goettingen.de>
Date: Mon, 11 Dec 2017 00:12:55 +0100
Subject: [PATCH] Fixed bug in navigation guard

---
 frontend/src/router/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js
index cbb0c55a..49a0675a 100644
--- a/frontend/src/router/index.js
+++ b/frontend/src/router/index.js
@@ -58,7 +58,7 @@ const router = new Router({
 })
 
 router.beforeEach((to, from, next) => {
-  if (from.path === '/') {
+  if (to.path === '/') {
     next()
   } else {
     const now = new Date()
-- 
GitLab