From 40e9ca273eba8ae0e6add64a17579ab06b1cceb6 Mon Sep 17 00:00:00 2001 From: Kyler Chin <7539174+kylerchin@users.noreply.github.com> Date: Sun, 17 Nov 2024 01:01:23 -0800 Subject: [PATCH] show gtfs route ids correctly involving quotations --- src/components/RouteScreen.svelte | 2 +- src/components/sidebarInternals.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/RouteScreen.svelte b/src/components/RouteScreen.svelte index 3eb4eb5..808fca4 100644 --- a/src/components/RouteScreen.svelte +++ b/src/components/RouteScreen.svelte @@ -185,7 +185,7 @@
Chateau: {routestack.chateau_id}
- Route: {routestack.route_id} + Route: {routestack.route_id.replace(/^\"/, "").replace(/\"$/, "")}
diff --git a/src/components/sidebarInternals.svelte b/src/components/sidebarInternals.svelte index 4f81144..ae102c2 100644 --- a/src/components/sidebarInternals.svelte +++ b/src/components/sidebarInternals.svelte @@ -307,7 +307,7 @@ } {option.data.route_id}{option.data.route_id.replace(/^\"/, "").replace(/\"$/, "")}