File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/clients/dish/src/utils Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11import { MapInstance } from '@polar/core'
2+ import { SearchMethodConfiguration } from '@polar/lib-custom-types'
23import { categoryIdAlkisSearch } from '../mapConfigurations/searchConfigParams'
34import { alkisWms } from '../servicesConstants'
45import { alkisMinZoom } from '../mapConfigurations/layerConfigIntern'
@@ -11,11 +12,13 @@ export function watchSearchResultForAlkisSearch(instance: MapInstance) {
1112 const configuration =
1213 instance . $store . getters [ 'plugin/addressSearch/addressSearchConfiguration' ]
1314 const configPatternKeys = configuration . searchMethods ?. find (
14- ( method ) => method . categoryId === categoryIdAlkisSearch
15+ ( method : SearchMethodConfiguration ) =>
16+ method . categoryId === categoryIdAlkisSearch
1517 ) . queryParameters ?. patternKeys
1618 const configPatternKeysArray = Object . keys ( configPatternKeys || { } )
1719 const patternKeysSearchResult = Object . keys (
18- ( chosenAddress as any ) ?. properties || { }
20+ ( chosenAddress as { properties ?: Record < string , unknown > } ) ?. properties ||
21+ { }
1922 )
2023
2124 if (
You can’t perform that action at this time.
0 commit comments