fix(rendering): handle empty supabase array safely and speed up splash screen
This commit is contained in:
@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user