♻️ Store StopArea Stops in BusinessDataStore when looking for stops
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user