From 4196d3e9dc5e8e41e1ae18ab3b6a8eba13a6dc76 Mon Sep 17 00:00:00 2001 From: Spythere Date: Mon, 22 Nov 2021 18:02:34 +0100 Subject: [PATCH] =?UTF-8?q?Dodano=20nazwy=20projekt=C3=B3w?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SceneryView/SceneryInfo.vue | 126 +++++++------------ src/components/StationsView/StationTable.vue | 1 + src/store/index.ts | 1 - 3 files changed, 45 insertions(+), 83 deletions(-) diff --git a/src/components/SceneryView/SceneryInfo.vue b/src/components/SceneryView/SceneryInfo.vue index 2a2bbb8..a433f84 100644 --- a/src/components/SceneryView/SceneryInfo.vue +++ b/src/components/SceneryView/SceneryInfo.vue @@ -2,26 +2,21 @@
- {{ stationInfo.stationName }} +
+ {{ stationInfo.stationProject }} +
+ + {{ + stationInfo.stationName + }} {{ stationInfo.stationName }}
-
- #{{ stationInfo.stationHash }} -
+
#{{ stationInfo.stationHash }}
-
+

- {{ $t("scenery.users") }} + {{ $t('scenery.users') }} icon-user

@@ -166,17 +135,14 @@ {{ train.driverName }}
-
- {{ $t("scenery.no-users") }} +
+ {{ $t('scenery.no-users') }}

- {{ $t("scenery.spawns") }} + {{ $t('scenery.spawns') }} icon-spawn

@@ -189,10 +155,8 @@ {{ spawn.spawnLength }}m - {{ $t("scenery.no-spawns") }} + {{ $t('scenery.no-spawns') }}
@@ -201,9 +165,9 @@ \ No newline at end of file + diff --git a/src/components/StationsView/StationTable.vue b/src/components/StationsView/StationTable.vue index 338bba0..6036cc5 100644 --- a/src/components/StationsView/StationTable.vue +++ b/src/components/StationsView/StationTable.vue @@ -47,6 +47,7 @@ 'station-unavailable': station.unavailable, }" > + {{ station.stationProject }} {{ station.stationName }} diff --git a/src/store/index.ts b/src/store/index.ts index 48f657f..03b8ed1 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -332,7 +332,6 @@ export const store = createStore({ else if (listedStationData) acc.push({ ...station, - stationProject: "", stationHash: "", maxUsers: 0, currentUsers: 0,