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", "name": "genera-tor",
"version": "1.1.1", "version": "1.2.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite --port 8080", "dev": "vite --port 8080",
+5 -2
View File
@@ -223,8 +223,11 @@ export default defineComponent({
this.store.orderFooter.hour = currentFormattedHours(); this.store.orderFooter.hour = currentFormattedHours();
this.store.orderFooter.minutes = currentFormattedMinutes(); this.store.orderFooter.minutes = currentFormattedMinutes();
if (this.fillCheckpointName) if (this.fillCheckpointName) {
this.store.orderFooter.checkpointName = this.store.orderFooter.stationName.slice(0, 2); 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'; this.store.orderMode = 'OrderMessage';
}, },
+1
View File
@@ -20,6 +20,7 @@ export interface ISceneryOnline {
export interface ISceneryData { export interface ISceneryData {
id: string; id: string;
name: string; name: string;
abbr: string;
SUP: boolean; SUP: boolean;
authors: string; authors: string;
availability: string; availability: string;
+1894 -1807
View File
File diff suppressed because it is too large Load Diff