fix: wyświetlanie poprawnych id RJ

This commit is contained in:
2023-01-01 02:57:11 +01:00
parent 75685c1e0e
commit 633f05f690
6 changed files with 2395 additions and 2308 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ async function fetchDailyTimetableStats() {
distanceAvg,
timetableAuthor: maxTimetable?.authorName || '',
timetableDriver: maxTimetable?.driverName || '',
timetableId: maxTimetable?.timetableId || 0,
timetableId: maxTimetable?.id || 0,
timetableRouteDistance: maxTimetable?.routeDistance || 0,
mostActiveDispatchers,
@@ -11,8 +11,8 @@
</div>
<div>
<router-link :to="`/journal/timetables?timetableId=${historyItem.timetableId}`">
<span class="text--grayed"> #{{ historyItem.timetableId }} </span>
<router-link :to="`/journal/timetables?timetableId=${historyItem.id}`">
<span class="text--grayed"> #{{ historyItem.id }} </span>
<b class="text--primary">&nbsp;{{ historyItem.trainCategoryCode }} {{ historyItem.trainNo }}</b>
<div>{{ historyItem.driverName }}</div>
</router-link>