From 40bbdbe4fab16df2b0f966d1c3ddf693519f13d0 Mon Sep 17 00:00:00 2001 From: Spythere Date: Sun, 3 Mar 2024 21:44:39 +0100 Subject: [PATCH] =?UTF-8?q?sortowanie=20po=20liczbie=20szlak=C3=B3w=20i=20?= =?UTF-8?q?ocenie=20dy=C5=BCurnego?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/StationsView/StationTable.vue | 36 ++++++++++---------- src/scripts/data/stationHeaderNames.ts | 1 + src/scripts/utils/filterUtils.ts | 16 +++++++++ src/store/mainStore.ts | 2 ++ 4 files changed, 37 insertions(+), 18 deletions(-) diff --git a/src/components/StationsView/StationTable.vue b/src/components/StationsView/StationTable.vue index 10f6603..7ee0ec4 100644 --- a/src/components/StationsView/StationTable.vue +++ b/src/components/StationsView/StationTable.vue @@ -240,8 +240,12 @@ {{ station.onlineInfo?.maxUsers || 0 }} - - {{ station.onlineInfo?.spawns.length || 0 }} + + {{ station.onlineInfo?.dispatcherRate ?? 0 }} + + + + {{ station.onlineInfo?.spawns.length ?? 0 }} { const routes = scenery.routesInfo.reduce( (acc, route) => { + if (route.hidden) return acc; + const tracksKey = route.routeTracks == 2 ? 'double' : 'single'; const isElectric = route.isElectric; const routesKey: keyof StationRoutes = `${tracksKey}${