Skip to content

Commit

Permalink
show gtfs route ids correctly involving quotations
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin committed Nov 17, 2024
1 parent 81b5df4 commit 40e9ca2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/RouteScreen.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
<div class="text-sm font-mono text-gray-500 dark:text-gray-400">
Chateau: <span class="font-bold">{routestack.chateau_id}</span>
<br/>
Route: <span class="font-bold">{routestack.route_id}</span>
Route: <span class="font-bold">{routestack.route_id.replace(/^\"/, "").replace(/\"$/, "")}</span>
</div>

</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/sidebarInternals.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@

}
<span class="font-mono text-xs dark:text-gray-400 text-gray-500 ml-1 font-semibold"
>{option.data.route_id}</span
>{option.data.route_id.replace(/^\"/, "").replace(/\"$/, "")}</span
>


Expand Down

0 comments on commit 40e9ca2

Please sign in to comment.