refactor(profile): moved fetching data to view root to ensure proper loading on activating

This commit is contained in:
2026-02-24 22:13:52 +01:00
parent 50068a239c
commit 4f17b1a704
4 changed files with 115 additions and 111 deletions
-1
View File
@@ -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 &&