mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-05 22:38:11 +00:00
hotfix
This commit is contained in:
@@ -393,12 +393,15 @@ export default defineComponent({
|
|||||||
|
|
||||||
// Stats display
|
// Stats display
|
||||||
this.store.driverStatsName =
|
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;
|
this.historyDataStatus.status = DataStatus.Loaded;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.historyDataStatus.status = DataStatus.Error;
|
this.historyDataStatus.status = DataStatus.Error;
|
||||||
this.historyDataStatus.error = 'Ups! Coś poszło nie tak!';
|
this.historyDataStatus.error = 'Ups! Coś poszło nie tak!';
|
||||||
|
|
||||||
|
console.error(error);
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user