mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 01:09:22 +02:00
fix bug in getting nearby postcodes
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user