From 872a6d3beec1767a8832be693b98e74f0895b646 Mon Sep 17 00:00:00 2001 From: Spythere Date: Wed, 29 Jun 2022 02:31:48 +0200 Subject: [PATCH] hotfix --- src/components/JournalView/JournalTimetables.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/JournalView/JournalTimetables.vue b/src/components/JournalView/JournalTimetables.vue index b162d43..f4e7d6e 100644 --- a/src/components/JournalView/JournalTimetables.vue +++ b/src/components/JournalView/JournalTimetables.vue @@ -393,12 +393,15 @@ export default defineComponent({ // Stats display this.store.driverStatsName = - this.historyList.length > 0 && this.searchersValues[1].value.trim() ? this.historyList[1].driverName : ''; + this.historyList.length > 0 && this.searchersValues[1].value.trim() ? this.historyList[0].driverName : ''; this.historyDataStatus.status = DataStatus.Loaded; } catch (error) { this.historyDataStatus.status = DataStatus.Error; this.historyDataStatus.error = 'Ups! Coś poszło nie tak!'; + + console.error(error); + } }, },