mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
refactor(profile): moved fetching data to view root to ensure proper loading on activating
This commit is contained in:
@@ -74,7 +74,6 @@ const routes: Array<RouteRecordRaw> = [
|
||||
|
||||
const router = createRouter({
|
||||
scrollBehavior(to, from, savedPosition) {
|
||||
console.log(to.name);
|
||||
if (
|
||||
(to.name == 'SceneryView' || to.name == 'DriverView' || to.name == 'PlayerProfileView') &&
|
||||
from.name !== to.name &&
|
||||
|
||||
Reference in New Issue
Block a user