Skip to content
Snippets Groups Projects
Commit fa589d3c authored by robinwilliam.hundt's avatar robinwilliam.hundt
Browse files

Fixed bug in navigation guard

parent 7460ad49
No related branches found
No related tags found
1 merge request!23Resolve "Logout of tutors after inactivity"
Pipeline #
...@@ -58,7 +58,7 @@ const router = new Router({ ...@@ -58,7 +58,7 @@ const router = new Router({
}) })
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
if (from.path === '/') { if (to.path === '/') {
next() next()
} else { } else {
const now = new Date() const now = new Date()
......
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