Sort bus schedules chronologically by departure time

This commit is contained in:
2026-03-01 09:44:32 -05:00
parent 8f586b47f5
commit 355bee84e3
2 changed files with 11 additions and 3 deletions

View File

@ -110,7 +110,7 @@ const filteredSchedules = computed(() => {
// Filtro Todos: Mostrar todo
return true
})
}).sort((a, b) => (a.departure_time || '').localeCompare(b.departure_time || ''))
})
// ── Seleccionar ruta