fix(rendering): handle empty supabase array safely and speed up splash screen

This commit is contained in:
2026-02-26 10:57:55 -05:00
parent 12f5871f6f
commit 82a2c1d903
3 changed files with 16 additions and 13 deletions

View File

@ -210,8 +210,8 @@ async function loadInitialData() {
routesService.getAllRoutes(),
busStopsService.getAllBusStops()
])
routes.value = routesData
allStops.value = stopsData
routes.value = routesData || []
allStops.value = stopsData || []
}
const availableStops = computed(() => {