♻️ Store StopArea Stops in BusinessDataStore when looking for stops

This commit is contained in:
2023-04-14 11:36:54 +02:00
parent 1b713dbc0e
commit 0a7d74a215

View File

@@ -164,6 +164,9 @@ ${linePassagesDestination.length} here... refresh all them.`);
for (const stop of stops) { for (const stop of stops) {
byIdStops[stop.id] = stop; byIdStops[stop.id] = stop;
setStore('stops', stop.id, stop); setStore('stops', stop.id, stop);
for (const innerStop of stop.stops) {
setStore('stops', innerStop.id, innerStop);
}
} }
return byIdStops; return byIdStops;
} }