Fix route selection persistence: removed clearSelection from Map and Schedules unmount hooks, ensuring route remains selected when switching views

This commit is contained in:
2026-03-01 12:23:25 -05:00
parent a092df33f7
commit 102abc22ef
2 changed files with 3 additions and 4 deletions

View File

@ -209,8 +209,6 @@ function prevPromo() {
onUnmounted(() => {
if (unitFetchInterval.value) clearInterval(unitFetchInterval.value);
if (carouselTimer.value) clearInterval(carouselTimer.value);
// Limpiamos la selección al salir para que no afecte a la sección de Horarios
routeStore.clearSelection();
// Clear all markers when component unmounts
clearMapMarkers();