Wersja 1.2.0 (merge)

Wersja 1.2.0
This commit is contained in:
Spythere
2023-05-01 01:20:22 +02:00
committed by GitHub
4 changed files with 1901 additions and 1810 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "genera-tor",
"version": "1.1.1",
"version": "1.2.0",
"private": true,
"scripts": {
"dev": "vite --port 8080",
+5 -2
View File
@@ -223,8 +223,11 @@ export default defineComponent({
this.store.orderFooter.hour = currentFormattedHours();
this.store.orderFooter.minutes = currentFormattedMinutes();
if (this.fillCheckpointName)
this.store.orderFooter.checkpointName = this.store.orderFooter.stationName.slice(0, 2);
if (this.fillCheckpointName) {
const sceneryAbbrev = this.sceneriesData.find(({ name }) => name === this.store.orderFooter.stationName)?.abbr;
this.store.orderFooter.checkpointName = sceneryAbbrev || this.store.orderFooter.stationName.slice(0, 2);
}
this.store.orderMode = 'OrderMessage';
},
+1
View File
@@ -20,6 +20,7 @@ export interface ISceneryOnline {
export interface ISceneryData {
id: string;
name: string;
abbr: string;
SUP: boolean;
authors: string;
availability: string;
+1894 -1807
View File
File diff suppressed because it is too large Load Diff