perf: optimize splash screen loading and remove unused telemetry code
This commit is contained in:
@ -206,8 +206,12 @@ onMounted(async () => {
|
||||
})
|
||||
|
||||
async function loadInitialData() {
|
||||
routes.value = await routesService.getAllRoutes()
|
||||
allStops.value = await busStopsService.getAllBusStops()
|
||||
const [routesData, stopsData] = await Promise.all([
|
||||
routesService.getAllRoutes(),
|
||||
busStopsService.getAllBusStops()
|
||||
])
|
||||
routes.value = routesData
|
||||
allStops.value = stopsData
|
||||
}
|
||||
|
||||
const availableStops = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user