mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-03 05:28:13 +00:00
Wersja 1.2.0 (merge)
Wersja 1.2.0
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "genera-tor",
|
||||
"version": "1.1.1",
|
||||
"version": "1.2.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite --port 8080",
|
||||
|
||||
@@ -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';
|
||||
},
|
||||
|
||||
@@ -20,6 +20,7 @@ export interface ISceneryOnline {
|
||||
export interface ISceneryData {
|
||||
id: string;
|
||||
name: string;
|
||||
abbr: string;
|
||||
SUP: boolean;
|
||||
authors: string;
|
||||
availability: string;
|
||||
|
||||
Reference in New Issue
Block a user