diff --git a/src/components/Global/TrainThumbnail.vue b/src/components/Global/TrainThumbnail.vue index 86a9540..d0a80a3 100644 --- a/src/components/Global/TrainThumbnail.vue +++ b/src/components/Global/TrainThumbnail.vue @@ -1,5 +1,23 @@ diff --git a/src/components/JournalView/JournalTimetables/TimetableExtra.vue b/src/components/JournalView/JournalTimetables/TimetableExtra.vue index 0e74000..ebe9b78 100644 --- a/src/components/JournalView/JournalTimetables/TimetableExtra.vue +++ b/src/components/JournalView/JournalTimetables/TimetableExtra.vue @@ -17,49 +17,24 @@ {{ $t('journal.stock-length') }} - - {{ - currentHistoryIndex == 0 - ? timetable.stockLength - : stockHistory[currentHistoryIndex].stockLength || timetable.stockLength - }}m - + {{ currentHistoryIndex == 0 ? timetable.stockLength : stockHistory[currentHistoryIndex].stockLength || timetable.stockLength }}m {{ $t('journal.stock-mass') }} - - {{ - Math.floor( - (currentHistoryIndex == 0 - ? timetable.stockMass! - : stockHistory[currentHistoryIndex].stockMass || timetable.stockMass) / 1000 - ) - }}t - + {{ Math.floor((currentHistoryIndex == 0 ? timetable.stockMass! : stockHistory[currentHistoryIndex].stockMass || timetable.stockMass) / 1000) }}t
-