From 16f272bd7d293f0607855d75d6cd7c6ffa57c9d3 Mon Sep 17 00:00:00 2001 From: Spythere Date: Sun, 14 Sep 2025 14:43:20 +0200 Subject: [PATCH] chore: added SCS+SPK station filter --- src/locales/en.json | 1 + src/locales/pl.json | 1 + src/managers/stationFilterManager.ts | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/locales/en.json b/src/locales/en.json index a670d44..9e42b8d 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -271,6 +271,7 @@ "SCS": "SCS", "SCS-R": "SCS + MANUAL", "SCS-M": "SCS + MECH.", + "SCS-SPK": "SCS + SPK", "SPE": "SPE", "manual": "MANUAL", "mechanical": "MECHANICAL", diff --git a/src/locales/pl.json b/src/locales/pl.json index d6d915e..1779755 100644 --- a/src/locales/pl.json +++ b/src/locales/pl.json @@ -269,6 +269,7 @@ "SCS": "SCS", "SCS-R": "SCS + RĘCZNE", "SCS-M": "SCS + MECH.", + "SCS-SPK": "SCS + SPK", "SPE": "SPE", "manual": "RĘCZNE", "SUP": "SUP (RASP-UZK)", diff --git a/src/managers/stationFilterManager.ts b/src/managers/stationFilterManager.ts index ecd730d..c346010 100644 --- a/src/managers/stationFilterManager.ts +++ b/src/managers/stationFilterManager.ts @@ -31,6 +31,7 @@ export const initFilters = { mechanical: false, 'SPK-M': false, 'SCS-M': false, + 'SCS-SPK': false, modern: false, semaphores: false, historical: false, @@ -95,7 +96,7 @@ export const filtersSections: Record = { stationType: ['junction', 'nonJunction'], access: ['nonPublic', 'unavailable', 'abandoned'], addons: ['SUP', 'ASDEK', 'noSUP', 'noASDEK'], - control: ['SPK', 'SCS', 'SPE', 'SPK-M', 'SCS-M', 'mechanical', 'SPK-R', 'SCS-R', 'manual'], + control: ['SPK', 'SCS', 'SPE', 'SCS-SPK', 'SPK-M', 'SCS-M', 'mechanical', 'SPK-R', 'SCS-R', 'manual'], blockades: ['SBL', 'PBL'], signals: ['modern', 'semaphores', 'mixed', 'historical'] };