mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Przywrócono uwagi eksplatacyjne
This commit is contained in:
+1
-1
@@ -475,7 +475,7 @@ export const store = createStore<State>({
|
||||
});
|
||||
|
||||
state.trainList = state.trainList.reduce((acc, train) => {
|
||||
const timetableData = timetableList.find(data => data && data.trainNo === train.trainNo);
|
||||
const timetableData = timetableList.find(data => data && data.trainNo === train.trainNo && data.driverId === train.driverId);
|
||||
|
||||
const trainStopData = state.stationList
|
||||
.find(station => station.name === train.currentStationName)
|
||||
|
||||
Reference in New Issue
Block a user