Skip to content

Commit

Permalink
Make use of full stop consistent (#347)
Browse files Browse the repository at this point in the history
* Make use of full stop consistent

* Switch where the full stop is

* Also apply to Crossing with unknown type

---------

Co-authored-by: Peter York <peter.york@dft.gov.uk>
  • Loading branch information
Pete-Y-CS and Peter York authored Sep 19, 2023
1 parent 073f391 commit 95207fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/browse/layers/CrossingsLayerControl.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
const crossingType = feature.properties.crossing;
let description =
descriptions.get(crossingType) ??
`Crossing with unknown type (${crossingType}).`;
`Crossing with unknown type (${crossingType})`;
return `<p>${description}. Click for details.</p>`;
}
const descriptions: Map<string, string> = new Map([
[
"no",
"Location where crossing is impossible/illegal but where there is a clear desire line to cross.",
"Location where crossing is impossible/illegal but where there is a clear desire line to cross",
],
["traffic_signals", "Signalised crossing"],
["marked", "Crossing with no traffic signals"],
Expand Down

0 comments on commit 95207fc

Please sign in to comment.