fix(admin): nav issues and blank screens fix
This commit is contained in:
@ -65,7 +65,8 @@ onMounted(loadStops)
|
||||
async function loadStops() {
|
||||
isLoading.value = true
|
||||
try {
|
||||
stops.value = await busStopsService.getAllBusStops()
|
||||
const data = await busStopsService.getAllBusStops()
|
||||
stops.value = data || []
|
||||
} catch (e) {
|
||||
error.value = 'Error al cargar las paradas'
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user