fix(planner): keep a restored route toggle scoped to the selected day (#2019)

This commit is contained in:
Maurice
2026-09-01 14:42:03 +02:00
committed by Maurice
parent c59425947a
commit 0a3ba7a4d7
5 changed files with 42 additions and 6 deletions
@@ -46,7 +46,7 @@ export default function MMapArea({ planner, shell }: MMapAreaProps) {
dayPlaces={planner.dayPlaces}
route={planner.route}
routeVias={planner.routeVias}
showTransitRoutes={planner.routeShown}
showTransitRoutes={planner.transitRoutesShown}
// The route toggle belongs to one day, so the map needs that day to know
// which automated transports may ride it (#2019).
days={planner.days}