diff --git a/frontend/src/containers/map/sidebar/main-panel/location-selector/location-dropdown/index.tsx b/frontend/src/containers/map/sidebar/main-panel/location-selector/location-dropdown/index.tsx index 4f62c11e..81100298 100644 --- a/frontend/src/containers/map/sidebar/main-panel/location-selector/location-dropdown/index.tsx +++ b/frontend/src/containers/map/sidebar/main-panel/location-selector/location-dropdown/index.tsx @@ -51,8 +51,13 @@ const LocationDropdown: FCWithMessages = ({ } ); + const handleFiltering = (value: string, search: string) => { + if (value.toLocaleLowerCase().includes(search.toLocaleLowerCase())) return 1; + return 0; + }; + return ( - + {t('no-result')}