Skip to content
Snippets Groups Projects
Commit 1680906d authored by Timothee P's avatar Timothee P :sunflower:
Browse files

redirect to shared project after login

parent 14f39c26
No related branches found
No related tags found
No related merge requests found
...@@ -145,7 +145,6 @@ const router = new VueRouter({ ...@@ -145,7 +145,6 @@ const router = new VueRouter({
routes, routes,
routerHistory: [], routerHistory: [],
scrollBehavior(to, from, savedPosition) { //* record each route change to keep scroll position scrollBehavior(to, from, savedPosition) { //* record each route change to keep scroll position
console.log('scrollBehavior', savedPosition, this.options, this.options.routerHistory);
const fromHistory = Boolean(savedPosition); const fromHistory = Boolean(savedPosition);
if (fromHistory && this.options.routerHistory.length > 0) { if (fromHistory && this.options.routerHistory.length > 0) {
......
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