From bda2e8a0be01da009b263e5ed857f50e15d82cd6 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sat, 28 Feb 2026 21:43:43 +0000 Subject: [PATCH] Fix electrification change feature - display of electrification was incorrect. Fix missing 'kind' from crossing on route 2421 --- src/lib/components/mapIcons/ElectrificationChange.svelte | 2 +- static/mapFiles/yaml/2421.yaml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib/components/mapIcons/ElectrificationChange.svelte b/src/lib/components/mapIcons/ElectrificationChange.svelte index 2f76ac8..b7c5e54 100644 --- a/src/lib/components/mapIcons/ElectrificationChange.svelte +++ b/src/lib/components/mapIcons/ElectrificationChange.svelte @@ -43,7 +43,7 @@ {#if showToEco} - ECO: {feature.to.eco} | Type: {feature.from.elec} + ECO: {feature.to.eco} | Type: {feature.to.elec} {/if} diff --git a/static/mapFiles/yaml/2421.yaml b/static/mapFiles/yaml/2421.yaml index c38dfd9..9eb869c 100644 --- a/static/mapFiles/yaml/2421.yaml +++ b/static/mapFiles/yaml/2421.yaml @@ -1,6 +1,6 @@ routeStart: Gloucester routeEnd: Severn Tunnel Jn -routeId: 2420 +routeId: 2421 updated: 2026-02-28 checked: signallerStart: Gloucester PSB @@ -111,7 +111,7 @@ routeDetail: chains: 40 - type: crossing - category: uwc + kind: uwc name: Poole's Crossing miles: 116 chains: 46 @@ -706,6 +706,8 @@ routeDetail: description: to Bristol via Severn Tunnel goto: '0000' entryPoint: severn-tunnel-junction + miles: 149 + chains: 14 - type: continues routeName: Bristol Parkway - Cardiff West Shunt