No need to show street address a second time

This commit is contained in:
Edward Betts 2021-06-18 21:37:55 +02:00
parent fc26c906a1
commit 98bca5229c

View file

@ -143,10 +143,10 @@
@click.stop>{{p.name}} <i class="fa fa-external-link"></i></a> @click.stop>{{p.name}} <i class="fa fa-external-link"></i></a>
</span> </span>
<span v-if="osm.address"> <span v-if="osm.address && osm.address != osm.name">
<br>street address: {{ osm.address }} <br>street address: {{ osm.address }}
</span> </span>
<span v-else-if="osm.tags['addr:street']"> <span v-else-if="osm.tags['addr:street'] && osm.address != osm.name">
<br>street: {{ osm.tags['addr:street'] }} <br>street: {{ osm.tags['addr:street'] }}
</span> </span>
@ -325,10 +325,10 @@
@click.stop>{{p.name}} <i class="fa fa-external-link"></i></a> @click.stop>{{p.name}} <i class="fa fa-external-link"></i></a>
</span> </span>
<span v-if="osm.address"> <span v-if="osm.address && osm.address != osm.name">
<br>street address: {{ osm.address }} <br>street address: {{ osm.address }}
</span> </span>
<span v-else-if="osm.tags['addr:street']"> <span v-else-if="osm.tags['addr:street'] && osm.address != osm.name">
<br>street: {{ osm.tags['addr:street'] }} <br>street: {{ osm.tags['addr:street'] }}
</span> </span>