fix attempt on buggy player search
This commit is contained in:
@@ -75,7 +75,14 @@ const routes = [
|
||||
score: lazyLoadComponent('DamageSite')
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
scrollBehavior(to, from, savedPosition) {
|
||||
if (savedPosition) {
|
||||
return savedPosition
|
||||
} else {
|
||||
return {x: 0, y: 0}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/:pathMatch(.*)*',
|
||||
|
||||
Reference in New Issue
Block a user