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",
|
"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",
|
||||||
|
|||||||
@@ -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';
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user