fix bug in getting nearby postcodes

This commit is contained in:
Martin Raifer
2023-04-28 19:55:43 +02:00
parent 316b819cc4
commit aca88bf702

View File

@@ -112,8 +112,8 @@ export function uiFieldAddress(field, context) {
function getNearPostcodes() {
return [... new Set([]
.concat(getNearValues('postcode')))
.concat(getNear(d => d.tags.postal_code, 'postcode', 200, 'postal_code'))];
.concat(getNearValues('postcode'))
.concat(getNear(d => d.tags.postal_code, 'postcode', 200, 'postal_code')))];
}
function getNearValues(key) {