diff --git a/src/Components/Map/Subcomponents/Controls/SearchControl.tsx b/src/Components/Map/Subcomponents/Controls/SearchControl.tsx index 89084a99..e0a27c7a 100644 --- a/src/Components/Map/Subcomponents/Controls/SearchControl.tsx +++ b/src/Components/Map/Subcomponents/Controls/SearchControl.tsx @@ -13,6 +13,7 @@ import { getValue } from '../../../../Utils/GetValue'; import { LocateControl } from './LocateControl'; import * as L from 'leaflet'; import MarkerIconFactory from '../../../../Utils/MarkerIconFactory'; +import { decodeTag } from '../../../../Utils/FormatTags'; @@ -100,7 +101,7 @@ export const SearchControl = ({ clusterRef }) => { let params = new URLSearchParams(window.location.search); window.history.pushState({}, "", "/" + `${params? `?${params}` : ""}`); }}> - #{capitalizeFirstLetter(tag.name)} + #{decodeTag(tag.name)} ))} diff --git a/src/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.tsx b/src/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.tsx index 2f1d1da1..c834d1d8 100644 --- a/src/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.tsx +++ b/src/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.tsx @@ -3,7 +3,7 @@ import { Item } from '../../../../types' export const StartEndView = ({item} : {item?:Item}) => { return ( -