diff options
| author | Adam Soltys <[email protected]> | 2023-04-13 22:27:50 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-04-13 22:27:50 -0700 |
| commit | 1cf10289b840d6fc56986d114fd762da75f4b103 (patch) | |
| tree | 0c2c3fbed89fd37300af6813913f2f5e295fe984 /src/components | |
| parent | 7c967ae84b2f5620d3efed2ce1e93551ddbde04a (diff) | |
| download | coinos-ui-1cf10289b840d6fc56986d114fd762da75f4b103.tar.gz coinos-ui-1cf10289b840d6fc56986d114fd762da75f4b103.zip | |
filter out payments with no lat/lon
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/LocationsMap.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/LocationsMap.svelte b/src/components/LocationsMap.svelte index 20ef8878..d84fa4ae 100644 --- a/src/components/LocationsMap.svelte +++ b/src/components/LocationsMap.svelte @@ -38,7 +38,7 @@ locations = locations.filter( (location) => - location['osm_json'].tags && location['osm_json'].tags['payment:coinos'] === 'yes' + location['osm_json'].tags && location['osm_json'].tags['payment:coinos'] === 'yes' && location.lat && location.lon ); /* const locations = [ |
